Learn R Programming

EpiNow2 (version 1.6.1)

natural_params: 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)

Value

A character vector, the natural parameters.

Arguments

distribution

Character; the distribution to use.

Examples

Run this code
if (FALSE) {
natural_params("gamma")
}

Run the code above in your browser using DataLab