R/print.gexp.R

Defines functions print.gexp

Documented in print.gexp

print.gexp <- function(x,
                       digits = 3L,
                       ...){
  cat("Design Matrix \n")

  print(x$X,
        digits = digits,
        ...)

  if(!is.null(x$Z)){ 
    cat("\n Plot Design Matrix \n")

    print(x$Z,
          digits = digits,
          ...)  
  }

  cat("\n Response Variable \n")

  print(x$Y,
        digits = digits,
        ...)  

  cat("\n Database \n")

  print(x$dfm,
        digits = digits,
        ...)  

}

Try the gexp package in your browser

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

gexp documentation built on July 9, 2023, 5:42 p.m.