plot.troppca {Rtropical}R Documentation

Plot the Tropical Principal Components with Data Projections

Description

Visualize the second order tropical principle components in troppca as a tropical triangle with projections on a two-dimensional plot via tropical isometry.

Usage

## S3 method for class 'troppca'
plot(x, plab = NULL, fw = FALSE, ...)

Arguments

x

a fitted troppca object.

plab

a vector of labels of all points in the given data matrix. Not needed for unlabeled data. (default: NULL)

fw

a logical variable to determine if to add Fermat-Weber point of the data projection. (default: FALSE)

...

Not used. Other arguments to plot

Value

plot.troppca does not return anything other than the plot.


[Package Rtropical version 1.2.1 Index]