| % Generated by roxygen2: do not edit by hand |
| % Please edit documentation in R/as_image.R |
| \name{as_image} |
| \alias{as_image} |
| \title{Render the table as an format-independent image and use it in rmarkdown} |
| \usage{ |
| as_image(x, width = NULL, height = NULL, ...) |
| } |
| \arguments{ |
| \item{x}{kable input. Either HTML or LaTeX} |
| |
| \item{width}{Image width in inches. (1 inch = 2.54 cm)} |
| |
| \item{height}{Image height in inches. (1 inch = 2.54 cm)} |
| |
| \item{...}{Additional arguments passed to save_kable.} |
| } |
| \description{ |
| This function generates a temporary png file using \code{save_kable} |
| and then try to put it in an rmarkdown document using |
| \code{knitr::include_graphics}. |
| } |