plotKknit: This function dynamically produces a knitr chunk with...

Description Usage Arguments

View source: R/graphics.R

Description

This function dynamically produces a knitr chunk with appropriate captions and labels which is then knitted into the main document with cat. Any chunk option could be added for full control over chunk.

Usage

1
plotKknit(chunkLabel, capt, plt, pos = "H", ...)

Arguments

chunkLabel

text for chunk label which is also used for figure file name

capt

text for caption

plt

plot object to be placed

pos

latex option for keeping the plot here


duanxd1/gfuns documentation built on March 7, 2020, 12:46 a.m.