Learn R Programming

EpiNow2 (version 1.6.1)

get_parameters: Get parameters of a parametric distribution

Description

[Experimental]

Usage

get_parameters(x, id = NULL)

Value

A list of parameters of the distribution.

Arguments

x

A <dist_spec>.

id

Integer; the id of the distribution to use (if x is a composite distribution). If x is a single distribution this is ignored and can be left at its default value of NULL.

Examples

Run this code
dist <- Gamma(shape = 3, rate = 2)
get_parameters(dist)

Run the code above in your browser using DataLab