Learn R Programming

multivarious (version 0.3.1)

screeplot.pca: Screeplot for PCA

Description

Displays the variance explained by each principal component as a bar or line plot.

Usage

# S3 method for pca
screeplot(x, type = "barplot", main = "Screeplot", ...)

Arguments

x

A pca object.

type

"barplot" or "lines".

main

Plot title.

...

Additional args to pass to base R plotting.