knitr::opts_chunk$set( collapse = TRUE, comment = "#>" )
library(intercali)
The function prepare_dsm
formats the simulated data in the right direction for their use in distance sampling and distribution models. The function takes as input information about the density map map_obj
, information about the detected individuals and their observation distance dist_obj
and information about the transects segs_obj
. The output is a list containing the various dist_dsm
, obs_dsm
, grid_dsm
and segs_dsm
objects formatted for their use in the functions of the Distance
and dsm
packages.
In this example the datasets dataset_map
, dataset_segs
and dataset_detected
integrated in the intercali
package are used.
data("dataset_map") data("dataset_segs") data("dataset_detected") list_dsm <- prepare_dsm(map_obj = dataset_map, dist_obj = dataset_detected, segs_obj = dataset_segs)
# TO DO
# TO DO
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.