landscape.modify.epoch: Modifies one of the landscape's epochs

Description Usage Arguments

View source: R/update_landscape.R

Description

This function updates the deomgraphic parameters in a landscape for a particular epoch

Usage

1
2
3
landscape.modify.epoch(rland,epoch=1,S=NULL,R=NULL,M=NULL,
   epochprob=NULL,startgen=NULL,extinct=NULL,
   carry=NULL,localprob=NULL)

Arguments

rland

landscape object, required

epoch

the epoch to modify, default 1

S

(default=NULL) Survivablity matrix for epoch, NULL leaves unchanged

R

(default=NULL) female Reproduction matrix for epoch, NULL leaves unchanged

M

(default=NULL) Male reporduction matrix for epoch, NULL leaves unchanged

epochprob

(default=NULL) probability of choosing this epoch, NULL leaves unchanged

startgen

(default=NULL) generation in which this epoch starts, NULL leaves unchanged

extinct

(default=NULL) vector of extinction probabilities per generation for each subpopulation, NULL leaves unchanged

carry

(default=NULL) vector of carrying capacities for each subpopulation, must be rland$intparam$habitats in length, NULL leaves unchanged

localprob

(default=NULL) vector of probabilites for choosing local demographies, must be length(rland$demography$localdem) in length, NULL leaves unchanged


rmetasim documentation built on Feb. 8, 2020, 1:06 a.m.