Description Usage Arguments Details Value Author(s)
View source: R/dshm_split_transects.R
Splits transect lines into segments, adds buffer, and attaches data.
1 2 | dshm_split_transects(transect.data, inter.dist = 0.01, lwr,
search.time = 15, w, parallel = FALSE, ncores = NULL, cap = TRUE)
|
transect.data |
Transect lines as SpatialLinesDataFrame. |
inter.dist |
Distance between each segment in meters. Default is 10 cm. |
lwr |
Lower limit in meters for segments. |
search.time |
Time in seconds the routine has to search for the solution. Default is 15s. Note this is not the time required to finish calculations. See the split_transects.pdf tutorial for more information. |
w |
Segment buffer in meters. |
parallel |
If |
ncores |
Number of cores. |
cap |
If |
For more information about splitting transects into segments as well as checking and correcting segments you can download the split_transects.pdf tutorial.
Segments as SpatialPolygonsDataFrame with attached data:
Transect.Label: ID for split transect.
Sample.Label: ID for segment.
lenght: segment length.
area: segment area.
Filippo Franchini filippo.franchini@outlook.com
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.