r: malthusian parameter

Description Usage Arguments Value Author(s) References See Also Examples

View source: R/r.R

Description

Calculates the intrinsic rate of increase by solving the Birch equation. Uses the Newton method.

Usage

1
r(tab, eps = eps, maxiter = 100)

Arguments

tab

a data.frame with three columns : x, the age, lx, the proportion of survivors at age x, mx, the offspring number per individual in the age class x

eps

Precision for the convergence of Newton method. Default is object eps transmitted by the calling function r. must be defined for a standalone use

maxiter

maximum number of iterations for the Newton's method. default = 100

Value

a single numeric value : r

Author(s)

Jean-Sebastien PIERRE

References

Lotka 1924, Birch 1948.

See Also

petitr,xlxmx,ranova

Examples

1
2
data (tblif)
r(tblif,eps=0.0000001)

petitr documentation built on May 2, 2019, 6:42 a.m.

Related to r in petitr...