def.genetic.sampler {tossm}R Documentation

Default method for drawing samples from sampling polygons

Description

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.

Usage

def.genetic.sampler(rland,sample.polys,bp.polys,n.samples,ID.tracker=NULL)

Arguments

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

Details

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.

See Also

tossm-package run.tossm


[Package tossm version 1.2 Index]