Learn R Programming

mdatools (version 0.14.2)

plot.pcares: Plot method for PCA results object

Description

Show several plots to give an overview about the PCA results

Usage

# S3 method for pcares
plot(x, comp = c(1, 2), ncomp = x$ncomp.selected, show.labels = TRUE, ...)

Arguments

x

PCA results (object of class pcares)

comp

which components to show the scores plot for (can be one value or vector with two values).

ncomp

how many components to use for showing the residual distance plot

show.labels

logical, show or not labels for the plot objects

...

other arguments