{r setup, include=FALSE} knitr::opts_chunk$set(echo = TRUE)

R Markdown

This is an R Markdown document. Markdown is a simple formatting syntax for authoring HTML, PDF, and MS Word documents. For more details on using R Markdown see http://rmarkdown.rstudio.com.

When you click the Knit button a document will be generated that includes both content as well as the output of any embedded R code chunks within the document. You can embed an R code chunk like this:

{r} install.packages("tidyverse") {r} library(tidyverse)

{r} df <- read_csv("DS5 Table - Sheet1.csv")

```{r} gf <- df %>% count(Genre)

```{r}
print (gf)

{r} gf %>% mutate(probability = n/10) My song genres are not representative of the song genres in my playlist, as the playlist had 17% rnb/soul but I ended up getting 50% rnb/soul,and I got no Indie or Latin. Country/rock, which had the most songs, had the least of the genres present this time. The probabilities could be different just because they happened to be this time, or the data could have changed since I took the %s last time, making its results invalid and requiring me to redo it. We could make them similar by having larger trials. This relates to the analyisis and synthesis step of the data science process by showing what and how we are analyzing and how we can incorporate it into the future