Learn R Programming

Xplortext (version 1.5.3)

print.TextData: Print TextData objects

Description

Print statistical results for documents, words and segments from TextData objects, in alphabetical and frequency order.

Usage

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

Arguments

x

object of TextData class

file

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

sep

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

...

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

See Also

TextData, plot.TextData, summary.TextData

Examples

Run this code
data(open.question)
res.TD<-TextData(open.question, var.text=c(9,10), remov.number=TRUE, Fmin=10, Dmin=10,  
stop.word.tm=TRUE, context.quali=c("Gender","Age_Group","Education"),
   context.quanti=c("Age"))
print(res.TD)

Run the code above in your browser using DataLab