natural_params function

Get the names of the natural parameters of a distribution

Get the names of the natural parameters of a distribution

These are the parameters used in the stan models. All other parameter representations are converted to these using convert_to_natural() before being passed to the stan models.

natural_params(distribution)

Arguments

  • distribution: Character; the distribution to use.

Returns

A character vector, the natural parameters.

Examples

## Not run: natural_params("gamma") ## End(Not run)