문제

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)

enter image description here

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top