Cambridge Create a Program Using Visual Studio Computer Programming Task

Clustering Methods 1 Practice•





In this programming exercise, you will analyze a dataset using the k-means and hierarchical clustering
algorithms.
Dataset: mtcars.csv is provided with this assignment. The mtcars dataset holds specifications for different car
models.
Tools: Using Visual Studio Code (VSC) or other R IDE you prefer to use.
Text in green are R commands and functions.
Save all your answers, relevant function outputs and plots in a single PDF file.
All your answers must be contained in a single file. Submit the PDF file.
Step 0: Install and load R libraries.
1. The majority of functions in this exercise used pre-installed librairies.
2. We will need to install pheatmap (?pheatmap for more information)
a. install.packages(‘pheatmap’)
b. load(pheatmap)
Step 1: Load the dataset and Explore the data.
1. data

Save Time On Research and Writing
Hire a Pro to Write You a 100% Plagiarism-Free Paper.
Get My Paper
Still stressed from student homework?
Get quality assistance from academic writers!

Order your essay today and save 25% with the discount code LAVENDER