natural_params: Get the names of the natural parameters of a distribution

View source: R/dist_spec.R

natural_paramsR Documentation

Get the names of the natural parameters of a distribution

Description

[Experimental] 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.

Usage

natural_params(distribution)

Arguments

distribution

Character; the distribution to use.

Value

A character vector, the natural parameters.

Examples

## Not run: 
natural_params("gamma")

## End(Not run)

epiforecasts/EpiNow2 documentation built on May 13, 2024, 3:11 a.m.