Learn R Programming

Xplortext (version 1.2.1)

print.LexChar: Print LexChar objects

Description

Prints characteristic words and documents from LexChar objects

Usage

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

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 ";")

further arguments passed to or from other methods

See Also

LexChar, plot.LexChar

Examples

Run this code
# NOT RUN {
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