Midlines R package
Repository URI
Repository DOI
Change log
Authors
Description
A .tar.gz file containing an R package. The package can be used to estimates the midline of polygons provided in sf format. The package uses Voronoi tessellation to estimate the midline and offers some functions that can help to clean the lines.
The package comains the following main functions: the midlines_draw function is used to estimate a midline for a polygon input. The midlines_clean function takes the output from midlines_draw to remove extraneous lines creates by the Voronoi tessellation process. The function midlines_check allows the cleaning process to be examined to ensure the desired output is created. midlines_dedensify, midlines_debit and midlines_smooth offer additional helper functions to modify the estimated midlines.
The package requires (imports) the sf, zoo, lwgeom, stats and igraph packages and requires R version 2.10 or higher. The package is documented with help files, a vignette, a readme file, a description file and licence (MIT licence). A small example dataset is included to provide an example for the vignette.