Learn R Programming

pubmed.mineR (version 1.0.21)

cluster_words: To Find the highest frequency of words within clusters

Description

Function for finding the word (term) of highest frequency within clusters.

Usage

cluster_words(wordscluster, n)

Value

a list containing cluster and its highest frequency word

Arguments

wordscluster

an R object containing the output of wordscluster()

n

a numeric vector containing cluster numbers

Author

S. Ramachandran

See Also

wordscluster

Examples

Run this code
if (FALSE) test = cluster_words(wordscluster, 5)
## wordscluster is an R object of wordscluster
## 5 is number of cluster

Run the code above in your browser using DataLab