R/print.catatis.R

Defines functions print.catatis

Documented in print.catatis

##=============================================================================


##' @title Print the CATATIS results
##'
##' @usage
##' \method{print}{catatis}(x, ...)
##'
##' @description
##' Print the CATATIS results
##'
##'
##' @param x object of class 'catatis'
##'
##' @param ... further arguments passed to or from other methods
##'
##'
##'
##' @keywords CATA RATA
##'
##' @seealso   \code{\link{catatis}}
##'
##' @export


##=============================================================================




print.catatis=function(x, ...)
{
  res.catatis=x
  if(inherits(res.catatis, "catatis")==FALSE)
  {
    stop("The class of the object must be 'catatis'")
  }

  cat("CATATIS method on binary blocks\n")
  cat(paste("number of subjects:",res.catatis$param$nblo, "\n"))
  cat(paste("number of products by subject:",res.catatis$param$n, "\n"))
  cat(paste("number of attributes by subject:",res.catatis$param$nvar, "\n"))
}

Try the ClustBlock package in your browser

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

ClustBlock documentation built on Aug. 30, 2023, 5:08 p.m.