As i was trying to aggregate the frequency of the terms for each variable, i used this code "words_freq = rollup(tdm, 2, na.rm=TRUE, FUN = sum)", where tdm is the term document matrix, it gave me this error message - Error in rollup(tdm, 2, na.rm = TRUE, FUN = sum) :
could not find function "rollup"
so is there any alternative solution to this error.
please help me out.
rollup() is not a base R function so you have to load the package from where it cames from before using it (maybe the
thank you very much, it worked.
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.