extract_params {EpiNow2}R Documentation

Extract parameter names

Description

[Experimental] Internal function for extracting given parameter names of a distribution from the environment. Called by new_dist_spec

Usage

extract_params(params, distribution)

Arguments

params

Given parameters (obtained using as.list(environment()))

distribution

Character; the distribution to use.

Value

A character vector of parameters and their values.


[Package EpiNow2 version 1.7.1 Index]