rand.sel: rand.sel

Description Usage Arguments Value

View source: R/nullmodel.R

Description

Simulation of a null model where individuals simply randomly lccate on the landscape with no locational preferences. Each iteration of this function represents a single individual settling a landscape randomly.

Usage

1
rand.sel(hab.mat, ...)

Arguments

hab.mat

The matrix containing the "grown" habitats enumerated by the strength of preference (e.g., the output from pref.strength, not convert.cell.). This matrix is only used to calculate the size of the landscape from which the agent chooses.

...

Additional arguments as necessary.

Value

Returns a single number: the cell ID of the randomly chosen location.


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