Skip to contents

Creates Table 3.4 and 3.6

Usage

create_t3.4_and_3.6(data, est_data, by_var, topic = NA, tablename = NA)

Arguments

data

data frame being used

est_data

data frame of estimated data being used

by_var

the occurrence year being used e.g. dobyr or dodyr

topic

whether the table is births or deaths data

tablename

name of the table being saved as a csv file

Value

data frames for tabulated versions of Table 3.4 and 3.6

Examples

t3.4 <- create_t3.4_to_3.7(bth_data, bth_est, dobyr, topic = "births", tablename = "Table_3_4")
#> Error in create_t3.4_to_3.7(bth_data, bth_est, dobyr, topic = "births",     tablename = "Table_3_4"): could not find function "create_t3.4_to_3.7"