cat_pir3: modification of cat.pir2 to allow for resizing using magick...

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 To use function like map, caption and tag are split into pre and post elements and glued using multFig and multiTbl

Usage

1
2
3
4
5
6
7
8
9
cat_pir3(
  plot_g,
  Caption = NULL,
  TagPre = NULL,
  TagPost = 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

TagPre

string to begin tag to be referenced using pandoc-crossref

TagPost

string to end 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.