rate: rate transfun

Description Usage Arguments Details Examples

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

1
2
3
4
5
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

1
2
3
4
5
# these are equivalent
rate <- rate(0.2)
rate <- r(0.2)

is.rate(rate)

pop documentation built on May 1, 2019, 10:16 p.m.

Related to rate in pop...