R/print.mpCOVSTATIS.R

Defines functions print.mpCOVSTATIS

Documented in print.mpCOVSTATIS

print.mpCOVSTATIS <-function (x,...) {

  res.mpCOVSTATIS <- x
  if (!inherits(res.mpCOVSTATIS, "mpCOVSTATIS")) stop ("no convenient data")
  cat("**Results for COVSTATIS **\n")
  cat ("The analysis was performed on ",res.mpCOVSTATIS$Overview$num.obs,
       "individuals, described by", nrow(res.mpCOVSTATIS$InnerProduct$C), "tables.\n\n")
  cat("*The results for COVSTATIS are available for the following objects:\n\n")
  res <- array("", c(4, 2), list(1:4, c("Name", "Description")))
  
  res[1,] <- c("$Overview","Overview")
  res[2,] <- c("$InnerProduct","Inner Product")
  res[3,] <- c("$Compromise","Compromise")
  res[4,] <- c("$Table","Table")

 
  print(res)
}

Try the MExPosition package in your browser

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

MExPosition documentation built on May 29, 2017, 2:27 p.m.