Description Usage Arguments Details Value
random.range is used within other rangemodel functions to radomly place given number of species occurences
1 | random.range(uid, nb, range.size, var, first)
|
uid |
a vector of unique ids for selection |
nb |
a neighbour object similar to generated from 'shp2nb' |
range.size |
a vector of number of sites occupied by each species |
var |
an optional vector of variables for constraining the randomization |
first |
If true, var is used while choosing the first occurence as well. if var is null, first is always set FALSE |
this function is not intended for any direct use but is called within other functions of 'rangemodelR'.
a numeric vector specifying selected possitions in 'uid'
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.