R/summary.minimum.entropy.R

summary.minimum.entropy <- function(object, ..., average=FALSE) {
  ## calculate the proportion in each \hat{C}
  if (average) 
    return(tapply( object$Prop, object$MinEnt, sum))
  else
    return( as.data.frame(object))
}

Try the anchors package in your browser

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

anchors documentation built on May 2, 2019, 6:59 a.m.