coerce_pop_count_age_sex_base: Coerce to a 'pop_count_age_sex_base'

coerce_pop_count_age_sex_baseR Documentation

Coerce to a pop_count_age_sex_base

Description

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

Usage

as_pop_count_age_sex_base(x, ...)

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

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

is_pop_count_age_sex_base(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


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