Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我可以用 gridExtra 生成一个表格:
例如:
library(gridExtra) grid.table(head(iris))
但这会产生一个 1:6 的行名列。有没有办法能够抑制 rownames 列,使其不会出现在表中?
谢谢您的帮助。
只需添加rows = NULL:
rows = NULL
grid.table(head(iris), rows = NULL)