Description Usage Arguments Value See Also Examples
View source: R/fit_distributions.R
Given a set of arbitrary parameters that includes at least a weight column, take a weighted average of all the other parameters.
1 | combine_norm(dat)
|
dat |
Dataframe of mean, sd and weights. |
A dataframe.
Other distribution fitting functions:
combine_lognorm_trunc()
,
combine_lognorm()
,
fit_capabilities_geomean()
,
fit_capabilities()
,
fit_lognorm_trunc()
,
fit_lognorm()
,
fit_norm_trunc()
,
fit_pois()
,
fit_scenarios_geomean()
,
fit_scenarios()
,
fit_threat_communities()
,
generate_cost_function()
,
lognormal_to_normal()
,
normal_to_lognormal()
1 2 3 4 | dat <- data.frame(mean = c(10, 20, 30),
sd = c(4, 5, 10),
weight = c(2, 1, 2))
combine_norm(dat)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.