dist_spec | R Documentation |
This function is deprecated as a user-facing function (while its
functionality is still used internally). Construct distributions using
the corresponding distribution function such as Gamma()
, LogNormal()
,
Normal()
or Fixed()
instead.
dist_spec(
distribution = c("lognormal", "normal", "gamma", "fixed", "empty"),
params_mean = numeric(0),
params_sd = numeric(0),
max = Inf,
pmf = numeric(0),
fixed = FALSE
)
distribution |
Character, defaults to "lognormal". The (discretised)
distribution to be used. Can be "lognormal", "gamma", "normal" or "fixed".
The corresponding parameters (defined in |
params_mean |
Numeric. Central values of the parameters of the distribution as defined in [natural_params(). |
params_sd |
Numeric. Standard deviations of the parameters of the distribution as defined in [natural_params(). |
max |
Numeric, maximum value of the distribution. The distribution will
be truncated at this value. Default: |
pmf |
Numeric, a vector of values that represent the (nonparametric)
probability mass function of the delay (starting with 0); defaults to an
empty vector corresponding to a parametric specification of the distribution
(using |
fixed |
Deprecated, use |
A list of distribution options.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.