prob.sel: prob.sel

Description Usage Arguments Value

View source: R/habprefmodel.R

Description

Simulate an individual settling the landscape based on habitat preference. The strength of habitat preference is supplied as part of the generation of the simulated landscape in the term A.coef included in the function pref.strength. This function only chooses loctions within the matrix based on the supplied parameterization.

Usage

1
prob.sel(mat, ...)

Arguments

mat

The array of probabilities of selection (output from convert.cell). Anticipates that it will be supplied as part of muli-model vecotrization.

...

Additional arguments as necessary.

Value

Returns the cell ID for the chosen cell.


syanco/checkyourself documentation built on Jan. 18, 2021, 4:50 a.m.