Skip to contents

Table 6.3 Ten leading causes of death, males

Table 6.4 Ten leading causes of death, females

Usage

create_t6.3_t6.4(
  data,
  data_year = NA,
  sex_value = "male",
  tablename = "Table_6_3",
  output_path = NULL
)

Arguments

data

data frame being used

data_year

year the data is for

sex_value

whether male or female

tablename

name of the table being saved as a csv file

output_path

The path to export the generated table

Value

dara frame with tabulated results

Examples

t6.3 <- create_t6.3_t6.4(dth_data, sex_value = "male")
#> Error: object 'dth_data' not found