if (FALSE) {
dataf = dataf.growth()
ddalphaf = ddalphaf.train (dataf$dataf, dataf$labels,
classifier.type = "ddalpha", maxNumIntervals = 2)
# plot the functional data
plot(ddalphaf)
# plot depth contours and separation in the transformed space
# (possible only if maxNumIntervals = 2)
plot(ddalphaf, type = "depth.contours")
# plot the DD-plot
plot(ddalphaf, type = "ddplot")
}
Run the code above in your browser using DataLab