Learn R Programming

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

MSCA (version 1.1.1)

Unsupervised Clustering of Multiple Censored Time-to-Event Endpoints

Description

Provides basic tools and wrapper functions for computing clusters of instances described by multiple time-to-event censored endpoints. From long-format datasets, where one instance is described by one or more dated records, the main function, `make_state_matrices()`, creates state matrices. Based on these matrices, optimised procedures using the Jaccard distance between instances enable the construction of longitudinal typologies. The package is under active development, with additional tools for graphical representation of typologies planned. For methodological details, see our accompanying paper: `Delord M, Douiri A (2025) `.

Copy Link

Version

Install

install.packages('MSCA')

Monthly Downloads

138

Version

1.1.1

License

GPL-3

Maintainer

Marc Delord

Last Published

June 2nd, 2025

Functions in MSCA (1.1.1)

fast_clara_jaccard

Fast CLARA-like clustering using Jaccard dissimilarity
fast_jaccard_dist

Compute upper triangle Jaccard distance
get_cluster_sequences

Extract sequences of length k within clusters
EHR

Description of the EHR dataset
sequence_stats

Compute sequence statistics
make_state_matrices

Construct state matrices from longitudinal EHR Data