Learn R Programming

lpda (version 1.2.0)

plot.lpda.3D: 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 lpda.3D
plot(x, pfacscores = FALSE, xlim = NULL, main = NULL,
legend.pos = "topright", ...)

Value

Two dimensional plot representing the distances to the computed hyperplane of each individual colored with the real class.

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.

Author

Maria Jose Nueda, mj.nueda@ua.es

See Also

lpda.3D, plot.lpda