Learn R Programming

pcadapt (version 2.2)

screePlot: Principal Components Analysis Scree Plot

Description

screePlot plots the scee plot associated with the principal components analysis performed on the dataset. NB : pcadapt has to be run on the dataset in order to get an output readable by plot.screePlot

Usage

screePlot(x, num_pc = NULL)

Arguments

x
an output from pcadapt containing the singular values.
num_pc
an integer specifying the number of components to take into account in the scree plot. num_axis should be lower than K. By default, num_axis = K.

Examples

Run this code
## see ?pcadapt for examples

Run the code above in your browser using DataLab