plot.lpda.3D {lpda} | R Documentation |
Plot method for lpda classification
Description
plot.lpda.3D
is applied to an lpda.3D
class object. It shows a plot
in two dimensions with the distances to the computed hyperplane of each individual coloring each case with the real class.
Usage
## S3 method for class 'lpda.3D'
plot(x, pfacscores = FALSE, xlim = NULL, main = NULL,
legend.pos = "topright", ...)
Arguments
x |
Object of class inheriting from "lpda" |
pfacscores |
Logical to show the first 2 parafac scores. Only possible when parafac is applied. |
xlim |
An optional vector with two values with the x-axis range. If omitted, it will be computed. |
main |
An optional title for the plot. |
legend.pos |
The position for the legend. By default it is topright. NULL when no legend is required. |
... |
Other arguments passed. |
Value
Two dimensional plot representing the distances to the computed hyperplane of each individual colored with the real class.
Author(s)
Maria Jose Nueda, mj.nueda@ua.es
See Also
[Package lpda version 1.2.0 Index]