extract_params: Extract parameter names

View source: R/dist_spec.R

extract_paramsR 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.


EpiNow2 documentation built on Oct. 31, 2024, 5:09 p.m.