Learn R Programming

pubmed.mineR (version 1.0.11)

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)

Arguments

wordscluster

an R object containing the output of wordscluster()

n

a numeric vector containing cluster numbers

Value

a list containing cluster and its highest frequency word

See Also

wordscluster

Examples

Run this code
# NOT RUN {
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