Learn R Programming

msm (version 0.2.1)

msm-internal: Internal msm functions

Description

Auxiliary R functions used in the msm package. These are not meant to be called by the user

Usage

lik.msm(params, allinits, misc, subject, time, state, tostate, fromto,
        qvector, evector, covvec, constrvec, misccovvec, miscconstrvec, initprobs,
        nstates, nintens, nmiscs, nobs, npts, ncovs, ncoveffs,
        nmisccovs, nmisccoveffs, covmatch, death, tunit, exacttimes, fixedpars, plabs)

getobs.msm(sim, obstimes, death, tunit)

observed.msm(x, times)

msm.process.covs(covariates, data, constraint, nobs, nmatrix)

msm.form.output(matrix, nstates, nmatrix, npars, ncovs, constrvec, fixedpars, fixed, covlabels, params, covmat, foundse, params.offset)

msm.check.qmatrix(qmatrix)

msm.check.ematrix(ematrix, qmatrix)

msm.check.consistency(qmatrix, misc, fromto=F, subject=NULL, state, tostate=NULL, time, death=FALSE, exacttimes=FALSE, tunit=NULL)

msm.check.state(nstates, state, fromto=FALSE, tostate=NULL)

msm.check.model(state, subject, qmatrix, fromto=NULL, tostate=NULL)

msm.check.times(time, subject)

msm.check.tunit(fromto, time, subject, timelag, tunit)

qematrix.msm(x, covariates="mean", which="intens", sojourn)

qematrix.diagse.msm(x, covariates="mean", which="intens", sojourn, ni, ivector, nc, constrvec, covlabels, covmeans, trsum)

qematrix.diagse.formstr(nir, inds, cur.i, ni, nc, coefs, offset, trsum)

expsum(inds, coefs)

expitsum(inds, coefs)

qratio.se.msm(x, ind1, ind2, covariates="mean")

transient.msm(x)

absorbing.msm(x)

Arguments