View source: R/calculate_cohort_size.R
calculate_cohort_size | R Documentation |
Calculates a cohort size (and cohort members) experienced by the supplied cub. Cohorts are specific to each cub. To be included in a cohort, cubs must have a den period that overlaps with the focal cub by at least 4 months and must be seen with focal cub at least once while they are both den dependent. Den period is calculated as (dob to dengrad), (dob to 1yr old) if no dengrad specified, or (dob to disappeared) if the cub died before graduation or 1 year old.
calculate_cohort_size(ids)
List |
of ids to calculate cohort size for |
A data frame with the ids supplied, size of cohort, whether the id survived to graduation (1 = yes, 0 = no) and the list of cubs in the cohort (this list includes the id provided, but the cohort size does not).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.