R/print.EC.R

Defines functions print.EC

Documented in print.EC

print.EC<-function(x, ...){
  cat("Results of Economic Clustering\n")
  cat("Max ASW:\n")
  cat(paste(x$ASW_max),"\n")
  cat("Assets:\n")
  cat(paste(x$Assets),"\n")
  cat("Number of Clusters:\n")
  cat(paste(x$K),"\n")
  cat("Cluster Medoids:\n")
  cat(paste(x$Medoids),"\n")
  cat("\n")
  cat("For a data frame containing only cluster medoids with only clustering variables: x$Medoid_dataframe\n")
  cat("\n")
  cat("For a vector of cluster membership for all data points: x$Cluster\n")
  cat("\n")
  cat("For a data frame containing the full population's responses to the clustering variables: x$Population_assets")
#' @export
}
Lauren-Eyler/EconomicClusters documentation built on March 22, 2022, 1:21 a.m.