resample_rsf | R Documentation |
Resample a RSF table to keep constant ratio of used/random locations across individuals. Resampling is done with replacement.
resample_rsf(data, id = "Id_Year", value = "Value", ratio = 3)
data |
The RSF dataset to resample |
id |
A vector of individual for each observation |
value |
A vector indicating if each observation is used (=1) or random(=0) |
ratio |
The ratio of random:used location (default =3, meaning 3 random locations for each used location) |
A RSF dataset
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.