Learn R Programming

multiRec (version 1.0.6)

Analysis of Multi-Type Recurrent Events

Description

Implements likelihood-based estimation and diagnostics for multi-type recurrent event data with dynamic risk that depends on prior events and accommodates terminating events. Methods are described in Ghosh, Chan, Younes and Davis (2023) "A Dynamic Risk Model for Multitype Recurrent Events" .

Copy Link

Version

Install

install.packages('multiRec')

Version

1.0.6

License

GPL-2

Maintainer

Alokananda Ghosh

Last Published

February 3rd, 2026

Functions in multiRec (1.0.6)

yjLink

Inverse Yeo-Johnson link
yeoJohnson

Yeo-Johnson transformation with parameter k
warn

Issue a warning
multiRec

Fit the multi-type recurrent event model
multiRecCVD2

Simulated dataset with two types of multi-type recurrent events
deviance.multiRec

Deviance of a fitted model
AIC.multiRec

Akaike's Information Criterion
identityInvLink

Identity inverse link
confint.multiRec

Confidence Intervals for Model Parameters
BIC.multiRec

Bayesian Information Criteron
logLik.multiRec

Log likelihood of a fitted model
plotProfiles

Plot profile likelihoods
resid.multiRec

Residuals from a fitted model
halt.n

Issue an error message and stop
halt

Issue an error message and stop
multiRecCVD4

Simulated dataset with four types of multi-type recurrent events
init

Get starting values for proportional hazards style likelihood
nIndices

Return the number of indices assigned so far
getIndices

Return a vector of indices
identityLink

Identity link
logInvLink

Log Inverse link
collapse

Collapse a vector into a string
print.multiRec

Print a short summary of the model fit
paramVector

Return the parameter vector
resetParamVector

Initialize an empty parameter vector
likelihood

Calculate the likelihood)
resetIndices

Reset the index offset
yeoJohnsonInv

Inverse Yeo-Johnson transformation with parameter k
makeFitObject

Construct a object returned by multiRec
vcov.multiRec

Variance covariance matrix of a fitted model
logLink

Log link
paste.and

Collapse a vector into a string
setParamVector

Set a part of the parameter vector
setParamNames

Set names for a part of the parameter vector
yjInvLink

Yeo-Johnson link