R/print.matrix1.R

Defines functions print.matrix1

#' @title print.matrix1
#'
#' @description Helper function to print a matrix; used by the print methods
#'
#' @param m Some matrix
#'
#' @noRd
#' @importFrom utils write.table
#'

# Got this from Brant QTE package
print.matrix1 <- function(m){
  utils::write.table(format(m, justify="right", digits=2, nsmall=2),
                     row.names=F, col.names=F, quote=F, sep="\t")
}

Try the pstest package in your browser

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

pstest documentation built on Aug. 26, 2019, 5:03 p.m.