I'm trying to create a wordcloud from a large data set. I've already read the text in and cleaned it. I have tried using wordcloud
with the data in a dataframe format as well as in a matrix format, but I get an error either way stating there is an error in UseMethod for TermDocumentMatrix applied to an object class "data.frame" or "matrix".
Below is a shortened version of dput I'm attempting to work with in this capacity:
> dput(billing.mat)
structure(c("", "newest", "managers", "are", "doing", "really", "well",
"responses", "to", "client", "questions", "have", "been", "much",
"better", "than", "expected", "for", "the", "short", "time",
"they", "have", "been", "in", "their", "position", "", "trainee",
"mentioned", "they", "didnt", "feel", "like", "they", "were",
"getting", "enough", "supporthelp", "with", "the", "specific",
"things", "their", "team", "does", "the", "team", "puts", "properties"
), .Dim = c(50L,
1L), .Dimnames = list(NULL, "billing"))
>