Learn R Programming

pubmed.mineR (version 1.0.3.1)

wordsclusterview: To view the words in cluster

Description

wordsclusterview is used to view the words comes in cluster formed by wordscluster function.

Usage

wordsclusterview(words_cluster, all)

Arguments

words_cluster
an R object containing output of wordscluster
all
is logical and default is FALSE, if set TRUE including those with one member word.

Value

  • It returns a text file named word_cluster_view.txt

Details

The first 5 words and 5 words near the median nd 5 words at the tail end are shown for clusters with more than 15 members. In case of cluster size less than 15, all the words are written in output.

See Also

wordscluster

Examples

Run this code
test= wordsclusterview(cluster)
# here cluster is output from wordscluster

Run the code above in your browser using DataLab