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 18, 2024, 7:49 a.m.