markupConvert: Convert marked-up semTable structures to latex, html, or csv

Description Usage Arguments Details Value Author(s)

View source: R/semTable.R

Description

The conversion key tables are included in the code of the function.

Usage

1
2
3
markupConvert(marked, type = c("latex", "html", "csv"),
  table.float = FALSE, longtable = FALSE, caption = NULL,
  label = NULL, file = NULL, columns, centering = "siunitx")

Arguments

marked

A character string

type

Output type, latex", "html", or "csv".

table.float

TRUE if you want insertion of '\begintable'

longtable

should a tabular or a longtable object be created?

caption

A caption to use if either longtable or table is TRUE

label

A LaTeX label for cross-references

file

A file stub, to which ".tex", ".html", or ".csv" can be added

columns

For SEM table, the list of columns objects

centering

Default "siunitx". Specify "none" to return to behavior of semTable before 1.50.

Details

The semTable uses a customized markup framework that uses character sequences that begin and end with underscores, such as "_BOMC2_ for "begin of multi-column entity that will use 2 columns". These special markups need to be converted into "tex", "html", or "csv" formats.

Value

a list of marked up character objects

Author(s)

Paul Johnson


semTable documentation built on April 30, 2020, 1:05 a.m.