Question
Instructions and Tips Please submit an HTML document created using R Markdown. The first chunk of your R Markdown document should be to set the
Instructions and Tips
Please submit an HTML document created using R Markdown.
The first chunk of your R Markdown document should be to set the global chunk options.
The second chunk of your R Markdown document should be to declare your libraries (probably only tidyverse for now).
Make sure you address all the questions in these instructions.
Even if a question does not say "write code," you should write code for your answer!
I have provided hints about functions that might be useful to you. You are not required to use these functions.
You may have to Google to solve some of these!
Be sure to save your work regularly (Ctrl/Cmd+S or File > Save or the floppy disk icon)
Be sure to knit your file every so often, to check for errors and make sure it looks nice.
Make your R Markdown document does not contain View(dataset) or install.packages("package"), both of these will prevent knitting.
Check your R Markdown document for moments when you looked at the data by typing the name of the data frame. Leaving these in means the whole dataset will print out!
If all else fails, you can set your chunk option or global option to error = TRUE, which will allow the file to knit even if errors are present.
The dataset
The data set "hiphop" contains results from a study conducted by a linguist at the University of Minnesota. The researcher was interested in predicting musical taste based on familiarity with African American English (AAE). 168 subjects participated in the study, and each was asked to define 64 different AAE terms. The definitions given were used to create a "familiarity" score for each subject for each term. This score quantifies how well the subject knew the term on a scale of 1-5 (1 = not at all, 5 = very well). Before tackling the problems, study the information on the following website, which includes a description of each variable:
http://conservancy.umn.edu/bitstream/handle/11299/116327/5/explanationAAEHiphopChesley.txt
You can download the data at this Dropbox link.
Challenge
Use the dataset to suggest a track listing (11 song titles) for Aubrey's next album with the Biebs. Explain your thought process and corresponding code.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started