This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
library(Tidyverse) # A collection of data-related packages | |
library(janitor) # Helps clean datasets | |
library(tidyr) # Helps make tidy datasets |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Uncount can useful, for instance when making histograms. | |
test <- | |
tibble( | |
word = c( | |
"Rohan", "Rohan", | |
"Monica", "Monica", "Monica", "Monica", "Monica", "Monica", | |
"Bayes", "Bayes", "Bayes", "Bayes" | |
), | |
date = c( | |
1998, 1999, |