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, main = NULL, xlab = NULL, ylab = NULL,
col= NULL, pch = NULL, lty = 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 title for the plot.
An optional title for x-axis.
An optional title for y-axis.
An optional vector with colours for the groups.
An integer specifying the symbol to be used in plotting points. When NULL, pch=20.
The line type. If it is not specified, lty = 2 for the distances to the hiperplane and lty = 1 for PCs 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