Skip to contents

Produce a time plot of attendant care hours per billing period disaggregated by the given `variable`

Usage

plot_total_hours(group_costs, variable = NULL, include_average = TRUE)

Arguments

group_costs

A tsibble containing costs optionally split by a variable

variable

Name of disaggregation variable. If NULL, aggregated costs are shown

include_average

Should the average cost per billing period be shown?

Author

Rob J Hyndman

Examples

  group_costs |> 
    plot_total_hours(age_group)