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

NagaNitin

Naga Nitin Narra

Recently Published

Code-Through Tutorial: Cleaning and Transforming Student Performance Data Using dplyr
This Code-Through tutorial demonstrates how to clean, manipulate, and explore a dataset in R using the dplyr package. The goal is to provide a simple, step-by-step walkthrough that a beginner can follow to understand the essential data-wrangling workflow. Using a small student performance dataset, this tutorial explains how to: Inspect and understand raw data Use dplyr verbs such as filter(), mutate(), select(), and arrange() Create new variables to support analysis Clean incomplete or inconsistent observations Summarize results Visualize the cleaned dataset using ggplot2 By the end, readers should feel confident performing basic data cleaning operations in R and understanding why each step matters.