Learn R Programming

phm (version 2.1.2)

print.textCluster: Print a textCluster Object

Description

Print a textCluster Object

Usage

# S3 method for textCluster
print(x, ...)

Value

The total number of clusters and total number of documents are printed. There is no return value.

Arguments

x

Object of type textCluster

...

Additional arguments

Examples

Run this code
M=matrix(c(0,1,0,2,0,10,0,14,12,0,8,0,1,0,1,0),4)
colnames(M)=1:4;rownames(M)=c("A","B","C","D")
tc=textCluster(M,2)
tc

Run the code above in your browser using DataLab