Sunday, March 3, 2024

Module #8 Input/Output, string manipulation

 This assignment was designed to understand manipulating datasets and being able to interpret their properties through R. 

I naturally imported the file this way out of habit, although the way presented in the module is equally as fruitful for inputting a dataset into R.  I initialized the dataset and placed it into a more user-friendly name to use simply called "data.set". I then used the given hints to create a dataframe that collected names from the dataset that contained the letter "I" and also the given frame for "sex" and the mean grade average.

The final data frame, containing only the names with "i" was saved using the write.csv() function. There's currently no way to incorporate a file into blogger so a screenshot is attached to show the final product:



No comments:

Post a Comment

Module #10 Building your own R package

 This assignment was tricky because I have never before considered being able to create my own R-package before and considered it to be more...