For example:
#install.packages("xtable")
#library(xtable)
tmp <- matrix(rnorm(9), 3, 3)
xtmp <- xtable(tmp)
digits(xtmp) <- c(0,0,3,4)
print(xtmp, include.rownames = FALSE) # row names suppressed
See here for a nice gallery depicting a large variety of outputs you can produce using the xtable package.
Nessun commento:
Posta un commento