R/ExtractIndices.R

Defines functions ExtractIndices

ExtractIndices <- function(table){
  claseT=class(table)
  if (!(claseT=="TableFrequencies")) stop("You must provide a Table with Frequencies to extend")
  ncomp=dim(table$Patterns)[1]
  indices=integer()
  for (i in 1:ncomp){
    indices[i]=table$EqualRows[[i]][1]
  }	
  return(indices)
}

Try the MultBiplotR package in your browser

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

MultBiplotR documentation built on Nov. 21, 2023, 5:08 p.m.