coerce_pop_count_age_sex_reference: Coerce to a 'pop_count_age_sex_reference'

coerce_pop_count_age_sex_referenceR Documentation

Coerce to a pop_count_age_sex_reference

Description

These functions coerce an object to a pop_count_age_sex_reference if possible, or check if it is one.

Usage

as_pop_count_age_sex_reference(x, ...)

## Default S3 method:
as_pop_count_age_sex_reference(x, ...)

## S3 method for class 'data.frame'
as_pop_count_age_sex_reference(x, ...)

## S3 method for class 'matrix'
as_pop_count_age_sex_reference(x, ...)

## S3 method for class 'pop_count_age_sex_reference'
as_pop_count_age_sex_reference(x, ...)

is_pop_count_age_sex_reference(x)

Arguments

x

An object to coerce or check.

...

Further arguments passed to specific methods.

Value

A coerced object in the case of the as_... functions; a logical for the is_... functions.

Author(s)

Mark Wheldon

See Also

coerce_demog_change_component_df

Other ccmpp_input_objects: ccmpp_input_df(), ccmpp_input_list(), death_count_age_sex(), death_probability_age_sex(), fert_rate_age_f(), life_table_age_sex(), mig_net_count_age_sex(), mig_net_count_tot_b(), mig_net_rate_age_sex(), mig_parameter(), mort_rate_age_sex(), pop_count_age_sex_base(), srb(), survival_ratio_age_sex()


markalava/ccmppWPP documentation built on April 21, 2022, 12:36 a.m.