Learn R Programming

hesim (version 0.5.0)

create_CohortDtstmTrans: Create CohortDtstmTrans object

Description

A generic function for creating an object of class CohortDtstmTrans.

Usage

create_CohortDtstmTrans(object, ...)

# S3 method for multinom_list create_CohortDtstmTrans( object, input_data, trans_mat, n = 1000, uncertainty = c("normal", "none"), ... )

# S3 method for msm create_CohortDtstmTrans( object, input_data, cycle_length, n = 1000, uncertainty = c("normal", "none"), ... )

Arguments

object

An object of the appropriate class.

...

Further arguments passed to or from other methods. Currently unused.

input_data

An object of class expanded_hesim_data returned by expand.hesim_data()

trans_mat

A transition matrix describing the states and transitions in a discrete-time multi-state model. See CohortDtstmTrans.

n

Number of random observations of the parameters to draw.

uncertainty

Method determining how parameter uncertainty should be handled. See documentation in create_params().

cycle_length

The length of a model cycle in terms of years. The default is 1 meaning that model cycles are 1 year long.

See Also

CohortDtstmTrans