knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>"
)
library(intercali)

Prepare data for distance sampling analysis

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.

Example

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)

My function

# TO DO

Plot dsm

# TO DO


maudqueroue/intercali documentation built on Oct. 8, 2022, 2:09 p.m.