Learn R Programming

Xplortext (version 1.5.3)

print.LexChar: Print LexChar objects

Description

Prints characteristic words and documents from LexChar objects

Usage

# S3 method for LexChar
print(x, file = NULL, sep=";", dec=".",  ...)

Arguments

x

object of LexChar class

file

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

sep

character to insert between the objects to print (if the argument file is non-NULL) (by default ";")

dec

decimal point (by default ".")

...

further arguments passed to or from other methods

Author

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

See Also

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,
        stop.word.tm=TRUE)
LD<-LexChar(res.TD, maxCharDoc = 0)
print(LD)

Run the code above in your browser using DataLab