Description Usage Arguments Details Value Author(s)
View source: R/dshm_finalize_segments.R
dshm_finalize_segments
calculates covariate statisitcs within each segment. It also corrects segments for land or other obstacles not relevant to the analysis.
1 2 | dshm_finalize_segments(segment.data, land.data = NULL, covariates, fun,
parallel = FALSE, ncores = NULL)
|
segment.data |
Segments as SpatialPolygonsDataFrame. You can use the function |
land.data |
A SptialPolygonsDataFrame such as land (for marine species) or other obstacles not relevant to predictions. |
covariates |
List of covariate raters. |
fun |
Function for covariate statistcs within each segment (i.e. mean or median). |
parallel |
If |
ncores |
Number of cores if parallel is |
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 SptialPolygonsDataFrame with following data attached:
Transect.Label: ID for split transect.
Sample.Label: ID for segment.
length: segment length.
area: segment area.
XYZ covariates: different habitat covariates such as depth, distance to coast, etc. specific to each segment.
Filippo Franchini filippo.franchini@outlook.com
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.