Description Usage Arguments Details Value Author(s)
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 7 8 9 10 11 12 13 14 15 |
df |
|
uniform_rates |
|
nt_c |
number of tiers in the current rate structure |
wdths_c |
|
fxd_c |
|
vol_c |
|
proposed_rates |
|
elasticity_par |
the elasticity parameter, default is set to zero which excludes elasticity from the analysis |
nt_p |
number of tiers in the proposed rate structure |
wdths_p |
|
fxd_p |
|
vol_p |
|
BillCalculation <- function(df, elasticity = 0.0, nt_c, nt_p = NULL, uniform_rates = TRUE, proposed_rates = TRUE,
This function returns a dataframe
that includes all final bills under the current and proposed rate
structures as well as their respective components
Bjorn Kallerud
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.