cat_pir2: Format and add image using pander::pandoc.image.return

Description Usage Arguments

View source: R/panderFuns.R

Description

Modification of cat.pir2 to allow for resizing using magick package. Pixels in a letter page = 612 x 792 so pixels per inch = 612/8.5 = 72

Usage

1
2
3
4
5
6
7
8
cat_pir2(
  plot_g,
  Caption = NULL,
  Tag = NULL,
  Width = knitr::opts_chunk$get("fig.width"),
  Height = knitr::opts_chunk$get("fig.height"),
  vec.res = 300
)

Arguments

plot_g

plot to be added to document

Caption

caption for plot

Tag

tag to be referenced using pandoc-crossref

Width

figure width

Height

figure width

vec.res

figure resolution


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