Learn R Programming

EMA (version 1.4.4)

plotBiplot: Sample and variable representation on a same graph for PCA

Description

Sample and variable representation on a same graph for Principal Component Analysis (PCA)

Usage

plotBiplot(acp, ...)

Arguments

acp
result from PCA or do.pca function
...
Arguments to be passed to methods, such as graphical parameters (see 'par').

Value

Plot of samples and variables on a same graph

See Also

runPCA,PCA

Examples

Run this code
## Not run: 
# data(marty)
# 
# ## PCA on sample
# ## example dataset
# example.subset <- marty[1:100,1:100]
# pca <- runPCA(t(example.subset), verbose = FALSE, plotSample = FALSE,
#     plotInertia = FALSE)
# 
# ## Biplot of PCA object
# plotBiplot(pca)
# ## End(Not run)

Run the code above in your browser using DataLab