R/print.PCAshiny.R

Defines functions print.PCAshiny

Documented in print.PCAshiny

print.PCAshiny <- function(x,...){
  if(!inherits(x,"PCAshiny")) stop(gettext("non convenient data"))
  cat(paste0(gettext("To fine your app the way you left it, use:"),"\n"))
  cat(paste0("PCAshiny(",sys.calls()[[1]][2],")\n"))
  cat("\n")
  cat(paste0(gettext("Or use the corresponding script:"),"\n"))
  cat(x$codePCA,"\n")
  cat("\n")
  cat(x$codeGraphInd,"\n")
  cat(x$codeGraphVar,"\n")
}
husson/Factoshiny documentation built on Sept. 19, 2023, 5:05 a.m.