| barplot(rf,col=“purple”,border=“purple”) |
| par(new=TRUE) |
| plot(trj.pca$au[,1],type=“l”,col=“orange”, lwd=3) |
| points(trj.pca$au[,2],type=“l”,col=“green”, lwd=3) |
| points(trj.pca$au[,3],type=“l”,col=“skyblue”,lwd=3) |
| legend.labels = c(“RMSF”, “PC 1”, “PC 2”, “PC 3”) |
| legend.cols = c(“purple”, “orange”, “green”, “skyblue”) |
| legend(“topleft”,legend.labels, fill = legend.cols) |