Learn R Programming

traj

The goal of traj is to implement a three-step procedure in the spirit of Leffondre et al. (2004) to identify clusters of individual longitudinal trajectories. The procedure involves (1) computing a number of “measures of change”” capturing various features of the trajectories; (2) using a Principal Component Analysis based dimension reduction algorithm to select a subset of measures and (3) using the k-means clustering algorithm to identify clusters of trajectories.

Installation

You can install the development version of traj from GitHub with:

# install.packages("devtools")
devtools::install_github("IcatianTrout/traj")

Example

See the vignette.

Copy Link

Version

Install

install.packages('traj')

Monthly Downloads

495

Version

2.2.0

License

MIT + file LICENSE

Last Published

July 4th, 2024

Functions in traj (2.2.0)

traj-package

traj: Clustering of Functional Data Based on Measures of Change
Step1Measures

Compute Measures for Identifying Patterns of Change in Longitudinal Data
plot.trajClusters

Plots trajClusters objects
Step3Clusters

Classify the Longitudinal Data Based on the Selected Measures.
Step2Selection

Select a Subset of the Measures Using Factor Analysis
trajdata

trajdata