change_ccmpp_input_df_span: Change the span of a 'ccmpp_input_df' object

change_ccmpp_input_df_spanR Documentation

Change the span of a ccmpp_input_df object

Description

This is a generic function with methods for the various sub-classes of ccmpp_input_df. Valid objects inheriting from ccmpp_input_df have a common value for “age_span” and “time_span”. This function provides a way of coherently changing this value, ensuring that the result is still a valid member of its class.

Usage

span(x, ...) <- value

## S3 replacement method for class 'ccmpp_input_df'
span(x, ...) <- value

Arguments

x

An object inheriting from ccmpp_input_df.

value

A numeric scalar for the new span.

...

Passed to or from other methods.

Value

x with spans set to value.

Author(s)

Mark Wheldon


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