
Last chance! 50% off unlimited learning
Sale ends in
"getData"(x, n = NULL)
"initialize"(.Object, ..., groups, points.orig, line, points.onedim)
"plot"(x, y, steps = "all", ...)
mlp(mat, ...)
"mlp"(mat, groups, ...)
"show"(object)
An Object containing results from a mean line projection reduction to one dimension.
The group and the one dimensional points are the most important information to carry out a classification using the classify() function. But as a help to illustrate the details of the dimension reduction, the information from some critical steps are stored in the object. To visually explore these there is a dedicated plot method for Mlp objects, use plot().
#use demo data
data(mlpMatrix)
groups <- rownames(mlpMatrix)
#run function
prj <- mlp(mlpMatrix, groups)
#getData accessor
getData(prj)
#getData accessor specific
getData(prj, "line")
#plot result
plot(prj)
Run the code above in your browser using DataLab