plot.ddalphaf | R Documentation |
plot.functional
– plots the functional data used by classifier
depth.contours.ddalpha
– builds the data depth contours for multiclass 2-dimensional data using the trained classifier.
draw.ddplot
– draws the DD-plot of the existing DD\alpha
-classifier.
## S3 method for class 'ddalphaf'
plot(x, type = c("functional.data", "ddplot", "depth.contours"), ...)
x |
functional DD |
type |
type of the plot for |
... |
additional parameters passed to the depth functions and to |
depth.
depth.contours
depth.graph
## Not run:
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")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.