subchunkify: Create sub-chunks for plots

View source: R/utils.R

subchunkifyR Documentation

Create sub-chunks for plots

Description

taken from: https://stackoverflow.com/questions/15365829/dynamic-height-and-width-for-knitr-plots

Usage

subchunkify(pl, fig.height = 7, fig.width = 5, chunk_name = "plot")

Arguments

pl

a plot object

fig.height

figure height

fig.width

figure width

chunk_name

name of the chunk

Author(s)

Andreas Scharmueller andschar@protonmail.com


andschar/dbreport documentation built on Dec. 8, 2022, 3:29 p.m.