M_index_age: M index accounting for diminishing returns to age.

View source: R/M_Index_Age.R

M_index_ageR Documentation

M index accounting for diminishing returns to age.

Description

M index accounting for diminishing returns to age.

Usage

M_index_age(r, t, t0 = 0, Samples = 100)

Arguments

r

A vector of RS values.

t

A vector of ages at first census. Defaults to zero.

Value

The M index accounting for diminishing returns to age.

Examples

RS = rpois(100, 5) 
Age = rpois(100, 45)
M_index_age(RS, Age)

ctross/SkewCalc documentation built on June 11, 2025, 1:31 a.m.