powered by
whichcluster is used to get the cluster in which a given word (term) occurs.
whichcluster
whichcluster(clusterobject, y)
a list containing the number of cluster under which given term occurs.
an R object containing the clusters of words output by wordscluster function.
wordscluster
a character string of query terms.
S.Ramachandran
if (FALSE) test<-whichcluster(x, "diabetes") ## here x is an R object output form wordscluster function. ## and "diabetes" is the term for which cluster number is to be searched.
Run the code above in your browser using DataLab