get_dist_spec_id: Perform checks for <dist_spec> 'get_...' functions

View source: R/dist_spec.R

get_dist_spec_idR Documentation

Perform checks for ⁠<dist_spec>⁠ get_... functions

Description

Perform checks for ⁠<dist_spec>⁠ get_... functions

Usage

get_dist_spec_id(x, id)

Arguments

x

A ⁠<dist_spec>⁠.

id

Integer; the id of the distribution to get parameters of (if x is a composite distribution). If x is a single distribution this is ignored and can be left as NULL.

Value

The id to use.

Author(s)

Sebastian Funk


EpiNow2 documentation built on May 29, 2024, 7:26 a.m.