plot.pca.scores: PCA Scores plot This function creates a plot that graphically...

Description Usage Arguments Details Author(s) Examples

Description

PCA Scores plot

This function creates a plot that graphically projects the original samples onto the subspce spanned by the first two principal components

Usage

1
2
## S3 method for class 'pca.scores'
plot(pca_obj, dataset, xrange, yrange)

Arguments

pca_obj

an object of class pca

dataset

a n x p dataframe representing the dataset used to create the pca object

xrange

a vector of two elements indicating the range of values along the x-axis in which eventually it will be specified the name of the samples

yrange

a vector of two elements indicating the range of values along the y-axis in which eventually it will be specified the name of the samples

Details

The Scores plot is used for interpreting relations among the observations

Author(s)

Piergiorgio Palla

Examples

1
2
3
## data(cachexiaData)
## pca_obj <- pca(cachexiaData, autoscale = TRUE, exclude = TRUE) 
## plot.pca.scores(pca_obj, cachexiaData)

RFmarkerDetector documentation built on May 2, 2019, 3:42 p.m.