View source: R/S3_classes_ccmpp_input_mig_net_count_tot_df.R
mig_net_count_tot_b | R Documentation |
mig_net_count_tot_b
mig_net_count_tot_b
is a subclass of
ccmpp_input_df
. It imposes two additional conditions:
Value_type
attribute equals “rate”.
Within year and sex, age must start at 0.
mig_net_count_tot_b(x, ...) ## S3 method for class 'data.frame' mig_net_count_tot_b(x, value_scale = attr(x, "value_scale")) ## S3 method for class 'mig_net_count_age_sex' mig_net_count_tot_b(x) ## S3 method for class 'ccmpp_input_list' mig_net_count_tot_b(x) mig_net_count_tot_b(x) <- value
x |
An object for which a method is defined (see “Details”). |
... |
Passed to the low-level constructor. |
value_scale |
Numeric scalar indicating the value_scale of the
counts, e.g., |
Methods are defined for data.frame
s and
ccmpp_input_list
s,
mig_net_count_age_sex
objects, and possibly other
objects as well. The data.frame
method “constructs”
an object from x
. The ccmpp_input_list
method
“extracts” an object from x
. There is also a
replacement function which complements the extraction methods.
The mig_net_count_age_sex
method allows creation of
total migration counts from age- sex-specific counts.
An object of class mig_net_count_tot_b
.
Mark Wheldon
validate_ccmppWPP_object
for object validation,
ccmpp_input_df
for the class from which this one
inherits.
Other ccmpp_input_objects:
ccmpp_input_df()
,
ccmpp_input_list()
,
coerce_pop_count_age_sex_reference
,
death_count_age_sex()
,
death_probability_age_sex()
,
fert_rate_age_f()
,
life_table_age_sex()
,
mig_net_count_age_sex()
,
mig_net_rate_age_sex()
,
mig_parameter()
,
mort_rate_age_sex()
,
pop_count_age_sex_base()
,
srb()
,
survival_ratio_age_sex()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.