Learn R Programming

quanteda (version 0.9.7-17)

textmodel_ca: correspondence analysis of a document-feature matrix

Description

textmodel_ca implements correspondence analysis scaling on a dfm. Currently the method is a wrapper to ca.matrix in the ca package.

Usage

textmodel_ca(data, smooth = 0, ...)

Arguments

data
the dfm on which the model will be fit
smooth
a smoothing parameter for word counts; defaults to zero.
...
additional arguments passed to ca.matrix

Examples

Run this code
ieDfm <- dfm(ie2010Corpus)
wca <- textmodel_ca(ieDfm)
summary(wca) 

Run the code above in your browser using DataLab