Question: 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 outputs
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
