coerce_fert_rate_age_f: Coerce to a 'fert_rate_age_f'

coerce_fert_rate_age_fR Documentation

Coerce to a fert_rate_age_f

Description

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

Usage

as_fert_rate_age_f(x, ...)

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

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

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

## S3 method for class 'fert_rate_age_f'
as_fert_rate_age_f(x, ...)

is_fert_rate_age_f(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.