R/print.summary.progenyClust.R

print.summary.progenyClust <-
function(x,...){
  cat("Call:\n")
  print(x$call)
  cat('\n')
  cat("Optimal Number of Clusters:\n")
  if(!is.na(x$n.gap)){
    cat(paste0("gap criterion - ",x$n.gap))
  }
  if(!is.na(x$n.score)){
    cat(paste0("\nscore criterion - "),x$n.score)
  }
  cat(' \n\n')
}

Try the progenyClust package in your browser

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

progenyClust documentation built on May 2, 2019, 6:40 a.m.