
Produces a score plot from an object (derived from) Pca-class
.
pca.scoreplot(obj, i=1, j=2, main, id.n=0, …)
an object of class (derived from) "Pca"
.
First score coordinate, defaults to i=1
.
Second score coordinate, defaults to j=2
.
The main title of the plot.
Number of observations to identify by a label. Defaults to id.n=0
.
optional arguments to be passed to the internal graphical functions.
# NOT RUN {
require(graphics)
## PCA of the Hawkins Bradu Kass's Artificial Data
## using all 4 variables
data(hbk)
pca <- PcaHubert(hbk)
pca
pca.scoreplot(pca)
# }
Run the code above in your browser using DataLab