generation_raster: Apply a 'demography' Object to a Raster

Description Usage Arguments Value

Description

This steps a population, stored as a Raster*, forwards by one generation, according to the parameters in a demography object, (which can also be passed in separately; see demography).

Usage

1
2
3
4
5
6
7
generation_raster(population, demography, prob.seed = demography$prob.seed,
  fecundity = demography$fecundity,
  prob.germination = demography$prob.germination,
  prob.survival = demography$prob.survival,
  pollen.migration = demography$pollen.migration,
  seed.migration = demography$seed.migration,
  genotypes = demography$genotypes, mating = demography$mating, ...)

Arguments

population

A Raster* object.

demography

A demography object, containing the below parameters.

prob.seed

Probability of producing seed, per individual.

fecundity

Mean number of seeds produced, per individual, if seeds are produced.

prob.germination

Probability of germination (establishment) per seed.

prob.survival

Probability of survival per already-extant individual.

pollen.migration

A migration object for pollen dispersal.

seed.migration

A migration object for seed dispersal.

genotypes

A character vector of genotypes.

mating

An array giving probabilities for offspring genotypes given parental genotypes.

...

Additional parameters that will be passed to demographic functions.

Value

A new population of the same form as the old.


petrelharp/landsim documentation built on May 25, 2019, 2:53 a.m.