rate {pop}R Documentation

rate transfun

Description

Create a transfun object representing a rate of transition between states - e.g. an expected number of offspring generated into one state from another. Typically used inside a call to transition

Usage

rate(value)

r(value)

is.rate(x)

Arguments

value

a numeric greater than 0 representing a rate

x

an object to be tested as a rate transfun object

Details

r() is a shorthand for rate().

Examples

# these are equivalent
rate <- rate(0.2)
rate <- r(0.2)

is.rate(rate)

[Package pop version 0.1 Index]