plot.lpda {lpda}R Documentation

Plot method for lpda classification

Description

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.

Usage

## S3 method for class 'lpda'
plot(x, PCscores = FALSE, xlim = NULL, main = NULL,
legend.pos = "topright", ...)

Arguments

x

Object of class inheriting from "lpda"

PCscores

Logical to show the first 2 PCscores. Only possible when PCA 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 dimensinal 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

lpda


[Package lpda version 1.0.1 Index]