π This repo is Option A β Strings and functional programming in R. I choose to work on Exercise 1 and Exercise 2.
This repository contains:
- README.md: basic information about this repo.
- optionA.Rmd: original code about exercise 1 and exercise 2.
- optionA.md: Knitted markdown file about exercise 1 and exercise 2.
- optionA_files: output folder containing output files generated by .Rmd.
To get started with this project, please clone the repository to your local machine.
git clone https://github.com/stat545ubc-2024/assignment-b4-Chendong-Luo
To engage in the analysis, following packages are needed:
install.packages("janeaustenr") # Jane Austen's Complete Novels
install.packages("stringr") # string manipulation
install.packages("stopwords") # various stopwords
install.packages("purrr") # functional programming tools
install.packages("ggplot2") # data visualization package.
install.packages("dplyr") # dataframe manipulation in R programming.
install.packages("testthat") # testing package.
install.packages("tidyverse") # collection of open source packages for transforming and better present data in R programming.
Make sure you have R installed on your system before running the above command.