combine_lognorm_trunc: Weight a set of lognormal parameters into a single...

View source: R/fit_distributions.R

combine_lognorm_truncR Documentation

Weight a set of lognormal parameters into a single distribution

Description

Weight a set of lognormal parameters into a single distribution

Usage

combine_lognorm_trunc(dat)

Arguments

dat

Dataframe of meanlog, sdlog, min, max, and sdlog.

Value

A dataframe.

See Also

Other distribution fitting functions: combine_lognorm(), combine_norm(), 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()

Examples

dat <- data.frame(meanlog = c(1, 1.5),
                  sdlog = c(1, 2),
                  min = 0,
                  max = Inf,
                  weight = c(2, 1))
combine_lognorm_trunc(dat)

davidski/collector documentation built on Sept. 30, 2023, 3:18 p.m.