R/whichcluster.R

Defines functions whichcluster

Documented in whichcluster

whichcluster = function(clusterobject, y){
rescheck = unlist(lapply(1:length(clusterobject), function(x){tempou = which(clusterobject[[x]] == as.character(y));if (length(tempou) != 0) return(x)}));return(rescheck)   }

Try the pubmed.mineR package in your browser

Any scripts or data that you put into this service are public.

pubmed.mineR documentation built on June 22, 2024, 6:50 p.m.