Final Project: EasyStats R Package
- Wesley Huang
- May 4
- 1 min read
In this final project, I created my own R package called EasyStats. The purpose of this package is to provide simple tools for basic data cleaning, summary statistics, and visualization. I wanted the package to be beginner friendly, so I included functions that are easy to understand and useful for working with small datasets in R.

The package includes three main functions. The first function, summary_stats(), calculates basic summary statistics like the mean, median, minimum, maximum, and standard deviation of a numeric vector. The second function, remove_missing(), removes missing values from a vector. The third function, simple_scatter(), creates a basic scatter plot using two numeric vectors.

For this project, I also learned more about the structure of an R package. The DESCRIPTION file contains important metadata such as the package name, title, version, author information, license, and dependencies. The R folder contains the functions, while the man folder contains the documentation created through roxygen. I also included a README file on GitHub so users can understand what the package does and how to install it.

Overall, this project helped me understand how R packages are built and shared. At first, the process was confusing because there are many files involved, but once I understood what each file was for, the structure made more sense. This assignment showed me how R packages can organize code in a cleaner way and make functions easier for other people to use.



Comments