[R] Doubt regarding the autoplot function in ggfortify library

manju moorthy m@njumoorthy95 @end|ng |rom gm@||@com
Wed Apr 24 08:46:38 CEST 2019


Iam using autoplot function from the ggfortify library. I saw that autoplot
gives the 1st two principal components. I am using autoplot to generate 1st
two principal components on a clustered object.
The usage is like :

autoplot(pam(my_data[1:256], 3), label = TRUE, label.size = 4, frame =
TRUE, frame.type = 'norm')

So here autoplot generates the principal components on the clustered
object. So can we actually call this a PCA plot? Also what is the algorithm
used by autoplot for generating principal components?

Thanks in advance for the help.



<http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
Virus-free.
www.avg.com
<http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>

	[[alternative HTML version deleted]]



More information about the R-help mailing list