get_age_class: Calculates the age class of an animal based on its age and...

Description Usage Arguments Value Examples

Description

Calculates the age class of an animal based on its age and the median age at first reproduction for the species.

Usage

1
get_age_class(age_years, mafr)

Arguments

age_years

Age of the animal in years.

mafr

Median age of first reproduction in years for the species.

Value

Output is a character string: "newborn", "juvenile", or "adult"

Examples

1
age_class <- get_age_class(5.1, 8.78589)

camposfa/plhdbR documentation built on May 13, 2019, 11:02 a.m.