RPubs will retire in June 2027. Your existing documents will stay accessible through December 31, 2031
and Connect Cloud is the recommended home for new publishing. Read the blog post
gravatar

stephdeus

Stephanie Deus

Recently Published

Code-Through
I created a a simple code-through tutorial that focuses on exploring and manipulating a toy dataset in R, and it covers k-means clustering algorithm to group similar observations based on 'Age' and 'BMI'. The tutorial first generates a toy dataset with columns for ID, Age, Height, and Weight. Then it creates a scatter plot visualizing the clusters. Lastly, it performs k-means clustering on 'Age' and 'BMI' columns, assigns cluster labels, and adds a new 'Cluster' column to the dataset.