landscape.sample: simulates sampling for genetics on the landscape

Description Usage Arguments Value Examples

View source: R/landscape.sample.R

Description

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

Usage

1
landscape.sample(rland, np = NULL, ns = NULL, pvec = NULL)

Arguments

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

Value

landscape object

Examples

1
2
3
4

stranda/kernelPop2 documentation built on March 30, 2020, 5:37 a.m.