plot.lpda
is applied to an lpda
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.
# S3 method for lpda
plot(x, PCscores = FALSE, xlim = NULL, main = NULL,
legend.pos = "topright", ...)
Two dimensional plot representing the distances to the computed hyperplane of each individual colored with the real class.
Object of class inheriting from "lpda"
Logical to show the first 2 PCscores. Only possible when PCA is applied.
An optional vector with two values with the x-axis range. If omitted, it will be computed.
An optional title for the plot.
The position for the legend. By default it is topright. NULL when no legend is required.
Other arguments passed.
Maria Jose Nueda, mj.nueda@ua.es
lpda