Answered step by step
Verified Expert Solution
Question
1 Approved Answer
RStudio question O s s Knit - - 56 - # Problem 2: Word explosion Insert Run - 57 58 >Write a function that will
RStudio question
O s s Knit - - 56 - # Problem 2: Word explosion Insert Run - 57 58 >Write a function that will read in 2 files and produce table of words with their frequency, a word cloud plot, and a histogram count of the top 10 words. The words should be drawn from first file. excluding the words in the second. 59 60 >This function should ignore the differences between upper and lower case. It should not consider a white space to be a word nor should it consider numbers to be words. 61 62 63 ^{r problem2 code, echo=FALSE, comment=''} " cat(readLines ('R/makewordFigures.R'), sep = ' ') 64 65 66. **{r problem2} 67 outputs Write a function that will read in 2 files and produce table of words with their frequency, a word cloud plot, and a histogram count of the top 10 words. The words should be drawn from first file. excluding the words in the second. 59 60 >This function should ignore the differences between upper and lower case. It should not consider a white space to be a word nor should it consider numbers to be words. 61 62 63 ^{r problem2 code, echo=FALSE, comment=''} " cat(readLines ('R/makewordFigures.R'), sep = ' ') 64 65 66. **{r problem2} 67 outputsStep 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