View source: R/render_gtable.R
| condformat2grob | R Documentation |
Requires the gridExtra package (install.packages("gridExtra")).
condformat2grob(x, draw = TRUE)
x |
A condformat_tbl object |
draw |
A logical. If |
the grid object
library(condformat)
if (requireNamespace("gridExtra", quietly = TRUE)) {
data.frame(Student = c("Alice", "Bob", "Charlie"),
Evaluation = c("Great", "Well done", "Good job!")) |>
condformat() |>
condformat2grob()
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.