mcttesim_bs: Simulation of a multi-state model General function to...

Description Usage Arguments

View source: R/inverse_mc_sampler.R

Description

Simulation of a multi-state model General function to generate a multi-state model requires a compiled model using mrgsolve for the Kolmogorov ODE, which is used to sample the state occupancy in the model.

Usage

1
mcttesim_bs(modeldat, id, covs, nstate, absor, qfun, BS)

Arguments

modeldat

mrgsolve model with defined the multi-state model.

id

id parameter

covs

covariates of the model

nstate

number of states

absor

absorving states, if more than one pass as a vector

qfun

function to pass q.

BS

BS matrix of nstate x nstate.


csetraynor/mctte documentation built on Oct. 20, 2019, 10:36 p.m.