fast_random_points: Sample relocations from a utilization distribution

Description Usage Arguments

View source: R/fast_random_points.R

Description

This function samples relocations given a set of coordinates, number of individuals, and probability of each individual being relocated at each coordinate

Usage

1
fast_random_points(probweights, nd, dc, dgdf, gridrad)

Arguments

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


vjf2/SocGen documentation built on April 24, 2021, 10:59 a.m.