# NOT RUN {
## Example of a 2D PCA k-means plot
library(specmine.datasets)
data(cachexia)
pca.result = pca_analysis_dataset(cachexia)
pca_kmeans_plot2D(cachexia, pca.result, num.clusters = 3, pcas = c(1,2))
# }
Run the code above in your browser using DataLab