Description Usage Arguments Value Examples
Create random sample in proximity to used samples
1 | rf_sampling(x, dat, nsamps, nt, maxnt, proj, ras)
|
x |
list of data.frames containing 'Month','Year','Spp' |
dat |
data.frame of relocation data |
nsamps |
multiplier, number of used locations times nsamps = number available locations |
nt |
mean step length times nt = minimum distance to sample from |
maxnt |
mean step length times nt times maxnt = maximum distance to sample from |
proj |
proj4string of point data |
ras |
raster grid to sample from |
Returns a list containing a report on the sampling and the used/available samples
1 | system.time({ sampout<-lapply(d[1],rf_sampling,dat=df,nsamps=2,nt=5,maxnt=5,proj=dfproj,ras=nras) })
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.