coerce_death_probability_age_sex | R Documentation |
death_probability_age_sex
These functions coerce an object to a
death_probability_age_sex
if possible, or check if it is
one.
as_death_probability_age_sex(x, ...) ## Default S3 method: as_death_probability_age_sex(x, ...) ## S3 method for class 'data.frame' as_death_probability_age_sex(x, ...) ## S3 method for class 'matrix' as_death_probability_age_sex(x, ...) ## S3 method for class 'death_probability_age_sex' as_death_probability_age_sex(x, ...) is_death_probability_age_sex(x)
x |
An object to coerce or check. |
... |
Further arguments passed to specific methods. |
A coerced object in the case of the as_...
functions; a logical for the is_...
functions.
Mark Wheldon
coerce_demog_change_component_df
for an important note on validation.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.