Description Usage Arguments Value Examples
Note that parallelization is supported to expedite evaluation; see examples
1 2 3 |
rdist |
|
dists |
frequency table of unique distance values (output from running |
prob |
vector of "probability inside" values to consider |
rate |
vector of rate values to consider |
skew |
vector of skew values to consider |
shift |
vector of shift values to consider |
verbose |
logical indicating whether to print verbose messages |
plot |
logical indicating whether to draw a plot of desired probability vs. decay rate. |
dataframe of fitted parameters for each parameter combination provided with prob, rate, skew, and shift.
1 2 3 4 5 6 7 8 9 10 11 | data(Beamys_hindei_range)
# Generate domain
domain=raster::raster(xmn=-180, xmx=180, ymn=-90, ymx=90,
crs="+proj=longlat +ellps=WGS84 +towgs84=0,0,0,0,0,0,0 +no_defs",
resolution=.1, vals=NULL)
# registerDoParallel(2) #optionally use to speed up calculation
# Calculate distance to range
rdist=rangeDist(range=Beamys_hindei_range,domain=domain,
domainkm=1000,mask=FALSE,fact=2,verbose=FALSE)
dpar=checkRates(rdist,plot=FALSE)
head(dpar)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.