Description Usage Arguments Value Examples
View source: R/landscape.sample.R
Randomly pulls a max of ns
individuals from a max of np
populations and returns a landscape object that could be used for
further simulation, but is usually used for analyses and summary
statistics calculatiuons
1 |
rland |
landscape object |
np |
number populations |
ns |
number samples per population |
pvec |
a vector of populations to sample. Should be numbers from 1 to number of habitats |
landscape object
1 2 3 4 | l <- landscape.new.example()
l <- landscape.simulate(l,1)
l.samp <- landscape.sample(l,np=3,ns=24)
landscape.amova.pairwise(l.samp)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.