plot_agegroup_by.Rd
Plot age-groups grouped by another variable
plot_agegroup_by(
df,
age_group_col = "age_group",
by_col = NULL,
interactive = FALSE
)
case data
name of the age-group column
name of the grouping column
if TRUE, interactive plot is returned
either a gg or plotly object
if (FALSE) {
plot_agegroup_by(
df = test_data,
age_group_col = "age_group",
by_col = "county"
)
}