Description Usage Arguments Value Examples
This function generates a dataset usable in resource selection functions
1 2 3 4 5 |
formu |
formula without an response such as ~ x1 + x2 |
pop_size |
integer defining the number of individuals |
steps_ |
number of relocations/steps |
non_steps |
number of absences |
base_ |
vector of numerics as the parameters coefficients |
n_preds |
integer defining total number of predictors, quadratic conditions and interactions |
n_preds_original |
integer defining the number of predictors |
gridsize |
integer determining size of the map |
predictors_ |
matrix of predictors |
ind_sd |
integer as the standard deviation of the normal distribution with a mean of 1 that is multiplied with the parameter coefficients |
dist_effect |
numeric defining the impact of the distance on relocation as plogis(1/dist^dist_effect) |
stepwise |
logical, if relocations are only dependent of the set of predictors or also dependent of the location of the last step |
absence_sampling |
default is "availability" , meaning all cells are used as availability background. "absence" samples only cells where no presence has been recorded. |
pred_choice |
vector of integers defining the set of predictors originally selected |
returns a dataset usable in resource selection functions and a map suitable for plotting with ggplot2
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.