Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

markupConvert

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


Description

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

Usage

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

Structural Equation Modeling Tables

v1.8
GPL-2
Authors
Paul Johnson [aut, cre], Benjamin Kite [aut]
Initial release
2020-04-29

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.