setup.env.change.mag: Setup env.change.mag

Description Usage Arguments

Description

This is a helper function to facilitate setting up the env.change.mag field in the Enviornmental_layers file. This may not be relevant for many environmental change types.

Usage

1
2
setup.env.change.mag(env.change.freq, env.change.type, in.vals = NA,
  in.transitions = NA, in.delta.transitions = NA, trans.type = NA)

Arguments

env.change.freq

The frequency of environmental change. Mainly included to ensure that it is not 0

env.change.type

The type of environmental change. For more info, see env.change.type

in.vals

Input values excluding transition rates or changes in transition rates (changes to mean or sd SHOULD be included when appropriate for the change type)

in.transitions

Only applies to Markov approaches. This should be a matrix of transitions, starting with the lowest cell value to each other cell value (1st row), then an additional row for each cell value.

in.delta.transitions

Only applies to changing Markov approaches. This should indicate the change in transition probability.

trans.type

Acceptable values: "ind", "cum". Only applies to Markov approaches. Indicates whether transition probabilities are given for each transition ("ind"), or cumulatively to include prior transitions ("cum").


akeyel/spatialdemography documentation built on May 12, 2019, 4:43 a.m.