encounter.history: Produce a single encounter history file based on population...

Description Usage Arguments Details Value See Also

View source: R/Encounter_history.R

Description

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.

Usage

1
encounter.history(map, Parameters, ...)

Arguments

Parameters

list of parameter values for simulation

map

a raster layer with underlying habitat information

...

additional options

Details

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.

Value

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.

See Also

createReplicates


rSPACE documentation built on May 29, 2017, 11:37 a.m.