def.genetic.sampler {tossm} | R Documentation |
def.genetic.sampler
draws a random sample of individuals from each sampling polygon and
assigns coordinates for each sample consistent with a random spatial distribution.
def.genetic.sampler(rland,sample.polys,bp.polys,n.samples,ID.tracker=NULL)
rland |
an rmetasim landscape object |
sample.polys |
polygon(s) defining where genetic samples are to be collected |
bp.polys |
polygons defining the number and geographic extent of breeding populations |
n.samples |
genetic samples taken from each sample.poly in each genetic sampling year of the simulation |
ID.tracker |
internal placekeeping argument |
def.genetic.sampler
generates random coordinates within each sample.polys
, and draws genetic samples
from each of these points.
Other sampling strategies can be developed through revision of the def.genetic.sampler
code.