R/print.epGPCA.inference.battery.R

print.epGPCA.inference.battery <-
function (x,...) {

  res.epGPCA.inference.battery <- x
  if (!inherits(res.epGPCA.inference.battery, "epGPCA.inference.battery")) stop ("no convenient data")
  cat("**Results for Generalized Principal Component Analysis Inference Battery**\n")
  cat ("Permutation was performed on ", ncol(res.epGPCA.inference.battery$components$eigs.perm),
       "components and bootstrap performed on ", nrow(res.epGPCA.inference.battery$fj.boots$tests$boot.ratios), " variables\n")
  cat("*The results are available in the following objects:\n\n")
  res <- array("", c(2, 2), list(1:2, c("name", "description")))
  
  res[1,] <- c("$components","p-values ($p.vals) and permutations ($eigs.perm) for each component.")
  res[2,] <- c("$fj.boots","A list with bootstrap data and tests.") 
    
  print(res)

}

Try the InPosition package in your browser

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

InPosition documentation built on May 2, 2019, 7:59 a.m.