begin_figure: Begins capturing a figure using svg

View source: R/apatfa.R

begin_figureR Documentation

Begins capturing a figure using svg

Description

The title and notes args accept flextable objects. If a string is provided instead it will be converted to a flextable with one row and italics based on the styles. If a list of strings is provided instead it will be converted to a flextable with a row for each list item.

Usage

begin_figure(
  bookmark,
  title,
  styles,
  notes = NULL,
  wide = FALSE,
  width = NULL,
  height = NULL,
  reserve = 0
)

Arguments

bookmark

Bookmark for the figure.

title

Title for the figure.

styles

A styles list to use.

notes

Notes about the figure.

wide

Should the figure be displayed in landscape?

width

Width for the figure in inches.

height

Height for the figure in inches.

reserve

Amount to subtract from the height.


toddagood/apatfa documentation built on Jan. 30, 2023, 11:51 p.m.