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

View source: R/update_landscape.R

landscape.modify.epochR Documentation

Modifies one of the landscape's epochs

Description

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

Usage

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


stranda/rmetasim documentation built on Aug. 25, 2023, 12:22 p.m.