Description Usage Arguments Details Value Author(s)
View source: R/calculate_bill.R
Calculates customers' water bills based on fixed and volumetric rates. There is an option to include both current and proposed rate structures to assess bill impacts.
1 2 3 4 5 6 | calculate_bill(
df_use,
df_rates,
rate_group = c("class", "meter_size"),
suffix = "current"
)
|
df_use |
|
df_rates |
|
rate_group |
|
suffix |
calculate bill based on |
calculate_bill <- function(df_use, df_rates, rate_group = c("class", "meter_size"), suffix = "current")
This function returns a dataframe
that includes the final bills under the current rate
structure as well as the bill's respective tier components.
Bjorn Kallerud
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.