View source: R/fast_random_points.R
This function samples relocations given a set of coordinates, number of individuals, and probability of each individual being relocated at each coordinate
1 | fast_random_points(probweights, nd, dc, dgdf, gridrad)
|
probweights |
a probability vector from which to select individuals, length must be greater than or equal to nd |
nd |
number of individuals to sample |
dc |
a matrix of coordinates |
dgdf |
a dataframe of probabilities per individual in each cell |
gridrad |
integer, half of the (square) gridsize |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.