# Setup data and time
data = example.data$data
time = example.data$time
# Run step1measures, step2factors and step3clusters
s1 = step1measures(data,time, ID=TRUE)
s2 = step2factors(s1)
s3 = step3clusters(s2)
# Print and plot "traj object"
s3
plot(s3)
Run the code above in your browser using DataLab