Learn R Programming

mptools (version 1.0.1)

actions: Extract Metapop management action details

Description

Extract management action details from RAMAS Metapop .mp files.

Usage

actions(mp)

Arguments

mp
A character string containing the path to a RAMAS Metapop .mp file.

Value

A data.frame containing one row per management action, with columns:
do.action
Logical. Will the action be performed (TRUE) or ignored (FALSE).
action
Factor. The type of action to be performed.
sourcepop
The identity of the source population.
targetpop
The identity of the target population.
start
The timestep at which the action will commence.
end
The timestep at which the action will end.
freq
The frequency of the action, in timestep units.
after.dispersal
Logical. Whether the action will be performed after (TRUE) or before (FALSE) dispersal has taken place.
quantity
Factor. Whether the action affects an absolute number of individuals, or a proportion of the source population.
number
The absolute number of individuals involved in the action.
proportion
The proportion of the source population involved in the action.
fromstage
The lowest stage involved in the action.
tostage
The highest stage involved in the action.
condition
The condition under which the action will be performed.
thr1
If condition is either N or Nthr2, this is the abundance threshold thr1.
thr2
If condition is either N>thr2 or Nthr2, this is the abundance threshold thr2.
unknownfield
Unknown.
linear.to
If condition is linear, this is the upper quantity (absolute number, or proportion, depending on quantity) towards which linear change will move.
linear.lowerN
If condition is linear, this is the abundance at which the quantity affected is equal to number or proportion, depending on the value of quantity.
linear.upperN
If condition is linear, this is the abundance at which the quantity affected is equal to linear.to.
N.comprises.stages
Factor. The stages included in the definition of N, when calculating thr1, thr2, linear.lowerN and linear.upperN.
N.comprises.pops
Factor. The populations included in the definition of N, when calculating thr1, thr2, linear.lowerN and linear.upperN.