fit_dist_generic: Distribution Fit (generic function)

Description Usage Arguments Value Author(s) See Also

View source: R/normalize.R

Description

This function is called by fit_norm_dist. It fits a distribution to a time series and runs several tests to verify the goodness of fit.

Usage

1
fit_dist_generic(flows, distr, save_prefix, save_plots = TRUE, save_dir)

Arguments

flows

Vector of numeric flows to be fit.

distr

Character name of the probability distribution function

save_plots

TRUE or FALSE Plots should be saved to disk? Defaults to TRUE

save_dir

Character for save directory. Defaults to working directory

Value

monthly_ts a dataframe with results of the null model reconstruction

Author(s)

James Stagge, james.stagge@usu.edu

See Also

flow_perc_fit


jstagge/paleoAPR documentation built on May 4, 2019, 4:22 p.m.