Generate a Gamma Distribution Definition Based on Parameter Estimates
Source:R/deprecated.R
gamma_dist_def.Rd
Deprecated; use Gamma()
instead to define a gamma distribution.
Usage
gamma_dist_def(
shape,
shape_sd,
scale,
scale_sd,
mean,
mean_sd,
sd,
sd_sd,
max_value,
samples
)
Arguments
- shape
Numeric, shape parameter of the gamma distribution.
- shape_sd
Numeric, standard deviation of the shape parameter.
- scale
Numeric, scale parameter of the gamma distribution.
- scale_sd
Numeric, standard deviation of the scale parameter.
- mean
Numeric, log mean parameter of the gamma distribution.
- mean_sd
Numeric, standard deviation of the log mean parameter.
- sd
Numeric, log sd parameter of the gamma distribution.
- sd_sd
Numeric, standard deviation of the log sd parameter.
- max_value
Numeric, the maximum value to allow. Defaults to 120. Samples outside of this range are resampled.
- samples
Numeric, number of sample distributions to generate.
Value
A <data.table>
defining the distribution as used by dist_skel()