dt_standard_panel: Plot ggplot objects with standard panel size

Description Usage Arguments Details

View source: R/dt_standard_panel.R

Description

For use only in R markdown documents

Usage

1

Arguments

x

a ggplot2::ggplot object

width

a ggplot2::unit object

height

a ggplot2::unit object

Details

A gruesome kludge. This thing writes an Rmarkdown R code chunk, knits it, and then outputs the html code as-is to source the temporary image file. Based on this SO and this SO.


kbvernon/deseRt documentation built on May 27, 2020, 11:44 p.m.