extract_ccmpp_input_df_span: Return the "span" of a 'ccmpp_input_df' or 'ccmpp_output_df'

extract_ccmpp_input_df_spanR Documentation

Return the “span” of a ccmpp_input_df or ccmpp_output_df

Description

Returns the common “age_span” and “time_span” of objects inheriting from ccmpp_input_df or ccmpp_output_df. To be a valid member of this class, these two spans must be equal. This function provides both a convenient check for this equality and a more logical way of accessing the common span. To change the span, see span<-.

Usage

span(x, ...)

## S3 method for class 'ccmpp_input_df'
span(x, ...)

Arguments

x

An object inheriting from ccmpp_input_df.

...

Passed to other methods.

Value

The span of x.

Author(s)

Mark Wheldon

See Also

extract_demog_change_component_attributes, the assignment version for changing the span span<-


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