Description Usage Arguments Details Value See Also
View source: R/Encounter_history.R
Given an underlying landscape, populates the landscape with simulated individuals based on spacing rules in Parameters
. Calculates probability of at least one individual at every location on the landscape and accumulates probability over grid cells to determine presence/absence.
1 | encounter.history(map, Parameters, ...)
|
Parameters |
list of parameter values for simulation |
map |
a raster layer with underlying habitat information |
... |
additional options |
Main simulation function called through createReplicates
to produce replicate complete encounter history files.
Use showSteps = T
as an additional option to display plots, save sampling grid, and other output as error checking.
Vector with one element for each grid cell representing the encounter history at that cell. Encounter histories consist of 1/0 values indicating presence/absence of at least one individual in each cell at each visit in each year of the study period.
If showSteps = T
, output will consist of a data.frame with 2 x n_yrs columns. For each cell in each year, both an encounter history for the year (1/0s representing used/unused during sampling occasions) and the probability of use in the cell will be included.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.