How to create image of a table from data frame in R-Programming

后端 未结 1 1253
甜味超标
甜味超标 2021-01-28 04:29

How to convert data in a data frame into a graphic of a table?

I have my data in the dataframe and want to convert it into the graphic so that I can display

1条回答
  •  一个人的身影
    2021-01-28 04:57

    You can create tables in the graphics window with something like:

    library(gridExtra)
    library(grid)
    grid.table(x)
    

    Otherwise have a look at knitr and pander or xtable for producing tables in Word/HTML documents.

    0 讨论(0)
提交回复
热议问题