Report information about supported distributions in the DSL. This is primarily intended for use in packages which use monty_dsl_parse_distribution, as this function reports information about which distributions and arguments would succeed there.
Value
A data.frame with columns
name
the name of the distribution; each name begins with a capital letter, and there are duplicate names where different parameterisations are supported.args
the arguments of all parameters, except the random variable itself which is given as the first argument to density functions.
We may expand the output here in the future to include information on if distributions have support in C++, but we might end up supporting everything this way soon.
Examples
monty_dsl_distributions()
#> name args
#> 1 Beta a, b
#> 2 BetaBinomial size, pr....
#> 3 BetaBinomial size, a, b
#> 4 Binomial size, prob
#> 5 Exponential rate
#> 6 Exponential mean
#> 7 Gamma shape, rate
#> 8 Gamma shape, scale
#> 9 Hypergeometric m, n, k
#> 10 NegativeBinomial size, prob
#> 11 NegativeBinomial size, mu
#> 12 Normal mean, sd
#> 13 Poisson lambda
#> 14 TruncatedNormal mean, sd....
#> 15 Uniform min, max