# NOT RUN {
data = read.csv(system.file("extdata", "CNORM2gr.csv", package = "trajeR"))
data = as.matrix(data)
sol = trajeR(Y = data[, 2:6], A = data[, 7:11], Risk = data[,12],
degre = c(2,2), Model = "CNORM", Method = "L")
GroupProfiles(sol, Y = data[, 2:6], A = data[, 7:11], X = data[,12])
# }
Run the code above in your browser using DataLab