M_index: M index of reproductive skew.

View source: R/M_Index.R

M_indexR Documentation

M index of reproductive skew.

Description

M index of reproductive skew.

Usage

M_index(r, t, Samples = 1000)

Arguments

r

A vector of RS values.

t

A vector of exposure times.

Samples

Number of samples used to estimate the expected value of the correction term.

Value

The M index.

Examples

set.seed(1) 
RS = rpois(100, 5) 
Age = rpois(100, 45)
M_index(RS, Age)

Ctross/SkewCalc documentation built on March 17, 2024, 2:04 p.m.