powered by
## S3 method for class 'TermDocMatrix': plot(x, terms = sample(colnames(x), 20), corThreshold = 0.7, weighting = FALSE, attrs = list(graph = list(rankdir = "BT"), node = list(shape = "rectangle", fixedsize = FALSE)), ...)
TermDocMatrix
0.7
graphNEL
if (require("Rgraphviz")) { data(crude) tdm <- TermDocMatrix(crude) plot(tdm, terms = colnames(tdm)[1:20]) set.seed(1234) plot(tdm, corThreshold = 0.2, weighting = TRUE) }
Run the code above in your browser using DataLab