simulate_ind: Simulate individuals with a inhomogenous Poisson point...

View source: R/simulate_ind.R

simulate_indR Documentation

Simulate individuals with a inhomogenous Poisson point process

Description

From an sf class density map map_obj (data.frame), an inohomogene Poisson point process is used to simulate the presence of individuals in the study area. The probability of presence of an individual is dependent on the density given by the map.

Usage

simulate_ind(map_obj, crs)

Arguments

map_obj

Dataframe. Sf map with a colum containg density informations density_m

crs

Numeric. Projection system.

Value

Dataframe. Indivduals with their coordinates associated.

Examples


data(dataset_map)

ind <- simulate_ind(map_obj = dataset_map,
                    crs = 2154)

head(ind)


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