rtf.tangram: Convert a tangram into an RTF string or file

View source: R/render-rtf.R

rtf.tangramR Documentation

Convert a tangram into an RTF string or file

Description

Given a tangram class, a series of conversion creates an rtf representation of the table.

Usage

## S3 method for class 'tangram'
rtf(
  object,
  id = NA,
  caption = NA,
  fragment = FALSE,
  widths = NA,
  footnote = NA,
  filename = NA,
  append = FALSE,
  point = 9,
  ...
)

Arguments

object

The cell table to render to RTF

id

A unique identifier for the table (strongly recommended).

caption

A string caption for the table

fragment

A boolean flag that determines whether a fragment or a complete RTF document is generatedf

widths

RTF requires specified left margin and column widths, this allows user control over these (inches)

footnote

Any footnotes to include under the table.

filename

A filename to write resulting rtf file to

append

A boolean for whether or not to append to given filename

point

Main font point size

...

additional arguments Fto renderer. Unused

Value

A text string rendering of the given table


tangram documentation built on Feb. 16, 2023, 5:59 p.m.