format_to_LaTeX: Format to LaTeX

format_to_LaTeXR Documentation

Format to LaTeX

Description

These functions are helper functions for turning R text into LaTeX. into (knitr) LaTeX code.

Usage

format_fit_summary.table_2_LaTeX(fit_summary.table, fit_n = 0)

format_data_summary.table_2_LaTeX(data_summary.table)

format_goodness_of_fit.table_2_LaTeX(goodness_of_fit.table)

format_formula_2_LaTeX(fit_summary.table, size = NULL)

format_text_2_LaTeX(text)

Arguments

fit_summary.table

a table produced by build_fit_summary.table

fit_n

an integer indicating which models the fit refers to (for defining captions)

data_summary.table

a table produced by build_data_summary.table

goodness_of_fit.table

a table produced by goodness_of_fit

size

a parameter for the size in LaTeX

text

a string of characters to turn into LaTeX

Details

The functions used to generate the tables using the LaTeX syntax are essentially wrappers to the function kable modified with the help of the package kableExtra. They contains in the code the captions of the supplementary tables.

Value

a string of characters

Functions

  • format_fit_summary.table_2_LaTeX(): turn a model fit summary table into the *.tex format

  • format_data_summary.table_2_LaTeX(): turn a data summary table into the *.tex format

  • format_goodness_of_fit.table_2_LaTeX(): turn the table with the results from the goodness of fit into the *.tex format

  • format_formula_2_LaTeX(): extract a model formula from a fitted model and format it for LaTeX

  • format_text_2_LaTeX(): format text for LaTeX


courtiol/twinR documentation built on July 11, 2024, 12:04 a.m.