| df2gg | R Documentation | 
data.frame object to ggplot objectGiven a data.frame object, performs basic conversion to a ggplot2::ggplot() object built using
functions from the ggplot2 package.
df2gg(
  df,
  colwidths = NULL,
  font_size = 10,
  col_labels = TRUE,
  col_lab_fontface = "bold",
  hline = TRUE,
  bg_fill = NULL
)
| df | ( | 
| colwidths | ( | 
| font_size | ( | 
| col_labels | ( | 
| col_lab_fontface | ( | 
| hline | ( | 
| bg_fill | ( | 
A ggplot object.
## Not run: 
df2gg(head(iris, 5))
df2gg(head(iris, 5), font_size = 15, colwidths = c(1, 1, 1, 1, 1))
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.