simulateScene: Simulate a Mating Scene

View source: R/setUpPopulations.R

simulateSceneR Documentation

Simulate a Mating Scene

Description

simulateScene generates a matingScene object – a simulated population in a standard format with individuals randomly assigned a mating schedule, a location, and S-alleles

Usage

simulateScene(
  size = 30,
  meanSD = "2012-07-12",
  sdSD = 6,
  meanDur = 11,
  sdDur = 3,
  skSD = 0,
  xRange = c(0, 100),
  yRange = c(0, 100),
  distro = "unif",
  sAlleles = 10
)

Arguments

size

integer number of plants

meanSD

date mean start date

sdSD

date standard deviation of start date

meanDur

numeric duration in days

sdDur

standard deviation of duration in days

skSD

skew of the start date of the population

xRange

range of spatial extent of individuals along x-axis

yRange

range of spatial extent of individuals along y-axis

distro

unimplemented

sAlleles

integer count of S-Alleles that could be in the population

Value

matingScene data frame – see makeScene

Author(s)

Stuart Wagenius

See Also

makeScene

Examples

simulateScene()

stuartWagenius/mateable documentation built on Feb. 9, 2023, 2:33 p.m.