Description Usage Arguments Value Examples
Run a correspondence analysis on a corpus.
1 |
corpus |
A |
dtm |
A |
variables |
An optional list of variables in |
ncp |
The number of axes to compute (5 by default). Note that this determines the number
of axes that will be used for clustering by |
sparsity |
Value between 0 and 1 indicating the proportion of documents
with no occurrences of a term above which that term should be dropped. By default
all terms are kept ( |
... |
Additional arguments passed to |
A CA
object containing the correspondence analysis results.
1 2 3 4 | file <- system.file("texts", "reut21578-factiva.xml", package="tm.plugin.factiva")
corpus <- import_corpus(file, "factiva", language="en")
dtm <- build_dtm(corpus)
corpus_ca(corpus, dtm, ncp=3, sparsity=0.98)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.