R/inSameCluster.R

Defines functions inSameCluster

#Determines if two cluster solutions are the same or not.
inSameCluster <-
function(I,J, MergedClusters){
  for (i in 1:length(MergedClusters))
    if (length(which(MergedClusters[[i]]==I))+length(which(MergedClusters[[i]]==J))==2)
      return (TRUE);
  return(FALSE);
}

Try the flowMeans package in your browser

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

flowMeans documentation built on Nov. 8, 2020, 4:51 p.m.