ambur.smooth | R Documentation |
Smooth a single polyine in a shapefile using a local polynomial fitting algorithm.
ambur.smooth(alpha = 0.7, degree = 2, sampledist = 5, presamp = 1)
alpha |
Alpha value for smoothing |
degree |
Degree of polynomial |
sampledist |
Sampling distance along the original polyline |
presamp |
Perform sampling along the original polyline. 1 = yes and 0 = no |
A polyline is smoothed using a local polynomial fit based on a modified 'locfit' algorithm. See the 'locfit' package for details on the original 'locfit' function.
A shapefile with a smoothed polyline.
~~ This function is a beta version ~~
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.