EM-clustering Clusters trajectories of numeric categorical data using Expectation-Maximisation algorithm. Data: trajectorysample.RData Order of codes to be used is: 1. cluster_functions.R 2. cluster_run.R 3. cluster_plot.R
Note that number of clusters needs to be chosen beforehand.
Rediual analysis: Performs residual analysis on the basis of the model specified in the paper. Data: residual_sampledata.csv Code: residualanalysis_model1.R