Learn R Programming

Xplortext (version 1.00)

summary.LexCA: Summary LexCA object

Description

Summarizes LexCA objects

Usage

# S3 method for LexCA
summary(object, ncp=5, nb.dec = 3, ndoc=10, nword=10, nseg=10, 
 nsup=10, metaDocs=FALSE, metaWords=FALSE, file = NULL, ...)

Arguments

object
object of LexCA class
ncp
number of dimensions to be printed (by default 5)
nb.dec
number of decimal digits to be printed (by default 3)
ndoc
number of documents whose coordinates are listed (by default 10). Use ndoc="ALL" to have the results for all the documents. Use ndoc=0 or ndoc=NULL if the results for documents are not wanted.
nword
number of words whose coordinates are listed (by default 10). Use nword="ALL" to have the results for all the words. Use nword=0 or nword=NULL if the results for words are not wanted
nseg
number of repeated segments whose coordinates are listed (by default 10). Use nseg="ALL" to have the results for all the segments. Use nseg=0 or nseg=NULL if the results for segments are not wanted
nsup
number of supplementary elements whose coordinates are listed (by default 10). Use nsup="ALL" to have the results for all the elements. Use nsup=0 or nsup=NULL if the results for the supplementary elements are not wanted
metaDocs
axis by axis, the highest contributive documents are listed, separately for negative-part and positive-part documents; these documents have been identified in LexCA, taking into account lmd value (by default FALSE)
metaWords
axis by axis, the highest contributive words are listed, separately for negative-part and positive-part words; these words have been identified in LexCA, taking into account lmw value (by default FALSE)
file
a connection, or a character string naming the file to print to (csv format). If NULL (the default), the results are not printed in a file
further arguments passed from other methods

See Also

LexCA, print.LexCA, plot.LexCA

Examples

Run this code
data(open.question)
res.TD<-TextData(open.question, var.text=c(9,10),  Fmin=10, Dmin=10, stop.word.tm=TRUE)
res.LexCA<-LexCA(res.TD, lmd=1, lmw=1)
summary(res.LexCA)

Run the code above in your browser using DataLab