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")
}

Try the Factoshiny package in your browser

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

Factoshiny documentation built on Nov. 20, 2023, 5:06 p.m.