Learn R Programming

pubmed.mineR (version 1.0.21)

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)

Value

It returns a text file named word_cluster_view.txt

Arguments

words_cluster

an R object containing output of wordscluster

all

is logical and default is FALSE, if set to TRUE includes those with one member word.

Author

S.Ramachandran, Jyoti Rani

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
if (FALSE) test= wordsclusterview(cluster)
# here cluster is output from wordscluster

Run the code above in your browser using DataLab