BIplot {MultiGroupO} | R Documentation |
biplot methods
Description
biplot methods
Usage
BIplot(
variates,
loadings,
prop_expl_var,
comp = c(1, 2),
group = NULL,
rownamevar = T,
rownameload = T
)
Arguments
variates |
is the size of groups |
loadings |
is a vector of classes |
prop_expl_var |
data set |
comp |
component numeric |
group |
is a vector of groups |
rownamevar |
is a logical vector where TRUE is the label of the observations, if is FALSE, is index. |
rownameload |
is a logical vector where TRUE is the label of the vectors of loadings, if is FALSE, is index. |
Value
return an grafics .
Examples
library(datasets)
obj<-pca(datos=iris[,-5],grupos=iris[,5],Plot=FALSE,center=TRUE,scale=TRUE)
BIplot(variates=obj$variates,loadings=obj$loadings,
prop_expl_var=obj$prop_expl_var,comp=c(1,2),
group=factor(as.numeric(iris[,5])),rownamevar=FALSE,rownameload=TRUE)
[Package MultiGroupO version 0.4.0 Index]