View source: R/data_prep_effort.R
prepare_data_effort | R Documentation |
Transform raw effort data into multiple sub data.frame for next analysis of other functions of the package.
prepare_data_effort( effort_base, covariable = NULL, block_area, shape, shape_layer, New_projection, optimal = FALSE, col2keep = NULL )
effort_base |
|
covariable |
|
block_area |
Data.frame with 2 colnames :
|
shape |
Shapefile of the study area. It can be either a |
shape_layer |
Layer of the shapefile if shape is a |
New_projection |
New projection of longitude and latitude of columns
(POINT_X et POINT_Y) in |
optimal |
Argument which allows to keep data sampled in optimal conditions.
Defaults settings are all data are kept. In case of optimal = T, indexes
|
col2keep |
Columns to keep from effort_base in output of the function. |
This function return a list containing:
legdata : data.frame
with infos at leg scale.
segdata : data.frame
with infos at segment scale.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.