Learn R Programming

⚠️There's a newer version (2.2.1) of this package.Take me there.

lcmm

Installation

To install the CRAN version, use :

install.packages("lcmm")

To get the most recent update, install it from github :

remotes::install_github("CecileProust-Lima/lcmm")

Documentation

The complete documentation is available on the lcmm website https://CecileProust-Lima.github.io/lcmm/, along with vignettes for each of the main estimating function of the package.

A detailed companion paper is also available in Journal of Statistical Software :

Proust-Lima C, Philipps V, Liquet B. Estimation of Extended Mixed Models Using Latent Classes and Latent Processes: The R Package lcmm. Journal of Statistical Software, Articles. 2017;78(2):1-56. https://doi.org/10.18637/jss.v078.i02

And specific statistical models estimated are described in various statistical papers of the authors.

Issues

Issues and questions about the use of the lcmm package are reported on the github issue page https://github.com/CecileProust-Lima/lcmm/issues. Please check both opened and closed issues to make sure that the topic has not already been treated before creating a new issue. To report a bug, please provide a reproducible example.

Copy Link

Version

Install

install.packages('lcmm')

Monthly Downloads

2,917

Version

2.0.2

License

GPL (>= 2.0)

Maintainer

Cecile Proust-Lima

Last Published

February 20th, 2023

Functions in lcmm (2.0.2)

StandardMethods

Standard methods for estimated models
Diffepoce

Difference of expected prognostic cross-entropy (EPOCE) estimators and its 95% tracking interval between two joint latent class models estimated with Jointlcmm
WaldMult

Multivariate Wald Test
VarCovRE

Estimates, standard errors and Wald test for the parameters of the variance-covariance matrix of the random effects.
ForInternalUse

For internal use only ...
ItemInfo

Conditional probabilities and item information given specified latent process values for lcmm or multlcmm object with ordinal outcomes.
VarExpl

Percentage of variance explained by the (latent class) linear mixed model regression
cuminc

Predicted cumulative incidence of event according to a profile of covariates
VarCov

Variance-covariance of the estimates
Jointlcmm

Estimation of joint latent class models for longitudinal and time-to-event data
gridsearch

Automatic grid search
data_lcmm

Simulated dataset for lcmm and Jointlcmm functions
fitY

Marginal predictions of the longitudinal outcome(s) in their natural scale from lcmm, Jointlcmm or multlcmm objects
hlme

Estimation of latent class linear mixed models
estimates

Maximum likelihood estimates
epoce

Estimators of the Expected Prognostic Observed Cross-Entropy (EPOCE) for evaluating predictive accuracy of joint latent class models estimated using Jointlcmm
dynpred

Individual dynamic predictions from a joint latent class model
lcmm

Estimation of mixed-effect models and latent class mixed-effect models for different types of outcomes (continuous Gaussian, continuous non-Gaussian or ordinal)
lcmm-package

Estimation of extended mixed models using latent classes and latent processes.
data_hlme

Simulated dataset for hlme function
plot.dynpred

Plot of individual dynamic predictions
permut

Permutation of the latent classes
paquid

Longitudinal data on cognitive and physical aging in the elderly
mpjlcmm

Estimation of multivariate joint latent class mixed models
multlcmm

Estimation of multivariate mixed-effect models and multivariate latent class mixed-effect models for multivariate longitudinal outcomes of possibly multiple types (continuous Gaussian, continuous non-Gaussian/curvilinear, ordinal) that measure the same underlying latent process.
loglik

Wrapper to the Fortran subroutines computing the log-likelihood
plot.Diffepoce

Plots
plot.ItemInfo

Plot of information functions
plot.cuminc

Plot of predicted cumulative incidences according to a profile of covariates
plot

Plot of a fitted model
predictRE

Predictions of the random-effects
print.lcmm

Brief summary of a hlme, lcmm, Jointlcmm,multlcmm, epoce or Diffepoce objects
predictL

Class-specific marginal predictions in the latent process scale for lcmm, Jointlcmm and multlcmm objects
predictlink

Confidence intervals for the estimated link functions from lcmm, Jointlcmm and multlcmm
predictYcond

Conditional predictions of a lcmm, multlcmm or Jointlcmm object in the natural scale of the longitudinal outcome(s) for specified latent process values.
predictClass

Posterior classification and class-membership probabilities
predictY

Predictions (marginal and possibly subject-specific in some cases) of a hlme, lcmm, multlcmm or Jointlcmm object in the natural scale of the longitudinal outcome(s) computed from a profile of covariates (marginal) or individual data (subject specific in case of hlme).
plot.predict

Plot of predicted trajectories and link functions
simdataHADS

Simulated dataset simdataHADS
postprob

Posterior classification stemmed from a hlme, lcmm, multlcmm or Jointlcmm estimation
update.mpjlcmm

Update the longitudinal submodels
xclass

Cross classifications
summaryplot

Summary of models
simulate.lcmm

Data simulation according to models from lcmm package
summary.lcmm

Summary of a hlme, lcmm, Jointlcmm, multlcmm, epoce or Diffepoce objects
summarytable

Summary of models