Learn R Programming

Xplortext (version 1.5.3)

summary.LexChar: Summary LexChar object

Description

Summarizes LexChar objects

Usage

# S3 method for LexChar
summary(object, CharWord=TRUE, stats=TRUE, CharDoc=TRUE, Vocab=TRUE,
    file = NULL, ...)

Arguments

object

object of TextData class

CharWord

if TRUE characteristic words of all the documents are shown (by default TRUE)

stats

if TRUE association statistics of lexical table are shown (by default TRUE)

CharDoc

if TRUE characteristic source-documents of all the aggregate-documents are shown (by default TRUE)

Vocab

if TRUE characteristic quantitative and qualitative variables of the words. CharWord and stats are provide

file

a connection, or a character string naming the file to print to in csv format. If NULL (the default), the results are not printed in a file

...

further arguments passed to or from other methods,...

Author

Ramón Alvarez-Esteban ramon.alvarez@unileon.es, Monica Bécue-Bertaut, Josep-Antón Sánchez-Espigares

Details

Vocab$quali$CharWord provides the qualitative variables and their categories. Vocab$quali$stats provides association statistics for vocabulary and qualitative variables. Vocab$quanti$CharWord provides characteristic quantitative variables for each word. This summary.LexChart function provides the characteristic words for each quantitative variable. Vocab$quali$stats provides statistics for vocabulary and quantitative variables.

See Also

LexChar, print.LexChar, plot.LexChar

Examples

Run this code
data(open.question)
res.TD<-TextData(open.question, var.text=c(9,10), var.agg="Gen_Edu", Fmin=10, Dmin=10, 
        remov.number=TRUE, stop.word.tm=TRUE)
res.LexChar <- LexChar(res.TD)
summary(res.LexChar)

Run the code above in your browser using DataLab