R/class_validation.R

#' Validation Class
#' @import methods
#' @name validation-class
#' @rdname validation-class
#' @slot PC Partition Coefficient index
#' @slot MPC Modified Partition Coefficient index
#' @slot CE Classification Entropy index
#' @slot S Separation index
#' @slot XB Xie Beni index
#' @slot Kwon Kwon index
#' @slot Tang Tang index
#' @exportClass  validation
setClass("validation",
         representation = representation(PC="numeric",
                                         MPC="numeric",
                                         CE="numeric",
                                         S="numeric",
                                         XB="numeric",
                                         Kwon="numeric",
                                         Tang="numeric"
         ),
         prototype = list(PC=numeric(),
                          MPC=numeric(),
                          CE=numeric(),
                          S=numeric(),
                          XB=numeric(),
                          Kwon=numeric(),
                          Tang=numeric()))
setMethod("show","validation",function(object){
  print.validation(object)
})

Try the cofclust package in your browser

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

cofclust documentation built on May 2, 2019, 4:56 p.m.