Skip to contents

Trails smoothing

Usage

smoothtrails(
  paths,
  plotmask,
  verbose = FALSE,
  advancedloggingparameters = loggingparameters()
)

Arguments

paths

Raw secondary trails polygons (sp polylines)

plotmask

Inventoried plot mask (SpatialPolygonsDataFrame)

verbose

return message on second trails density criteria (boolean)

advancedloggingparameters

Other parameters of the logging simulator loggingparameters (list)

Value

A list with :

  1. SmoothedTrails: Smoothed trails polygons;

  2. Smoothed second trails polygons;

  3. Smoothed main trails polygons;

  4. smoothed trail density.

Examples

if (FALSE) { # \dontrun{
data(SecondaryTrails)
SecondTrailsSmth <- smoothtrails(paths = SecondaryTrails$RawSecondTrails,
                                 plotmask = PlotMask,
                                   )
        } # }