pseudocensus_ages: Create pseudocensus dates and calculate ages of all animals...

Description Usage Arguments Value Examples

Description

Create pseudocensus dates and calculate ages of all animals present at each census. This function is used by the stage-specific vital rate functions.

Usage

1
pseudocensus_ages(b, adult_definition = "median", census_start_month = NULL)

Arguments

b

Name of the tbl_df containing biography data generated by the function read_bio_table.

adult_definition

How adult females are defined in terms of age at first birth. Options are "median" or "minimum".

census_start_month

A vector of start months for each study. Should be same length as the number of studies. Defaults to January.

Value

Output is a tbl_df that includes an entry for each animal present at each pseudo-census date along with its discrete age class and life-history stage at that date.

Examples

1

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