I can produce a table with gridExtra:
eg:
library(gridExtra)
grid.table(head(iris))
But this produces a rownames column 1:6. Is there a way to be able to suppress the rownames column so that it does not appear in the table?
Thank you for your help.
Just add rows = NULL
:
grid.table(head(iris), rows = NULL)
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.