Question: From the third row, and sixth row in the red R code. There do not using col = black to show the colour of the

From the third row, and sixth row in the red R code. There do not using col="black" to show the colour of the point in the pca graph. It uses col = data[,1] insteaded, and it achieves to have another red colour. How the answer made the colour shows on the graph use col = data[,1]?
Do i need to add some package to make it work?
 From the third row, and sixth row in the red R

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!