Description Usage Arguments Value Author(s) See Also
This function fits a distribution to a time series of monthly or annual flows for normalization purposes. It alsos run several tests to verify the goodness of fit, using the function fit_perc.
1 2 | fit_norm_dist(flow_series, distr, ref_period = NULL, save_prefix = "",
save_plots = TRUE, save_dir = getwd())
|
distr |
Character name of the probability distribution function |
ref_period |
Vector of 2 years to subset the data. Defaults to NULL (full datasets) |
save_prefix |
Character prefix for saved files. Typically a site name or location. |
save_plots |
TRUE or FALSE Plots should be saved to disk? Defaults to TRUE |
save_dir |
Character for save directory. Defaults to working directory |
flow_data |
Dataframe with columns "year" and "flow". Column "month" should also be included if running monthly. |
time_scale |
Character of either "monthly" or "annual". |
monthly_ts a dataframe with results of the null model reconstruction
James Stagge, james.stagge@usu.edu
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.