format_to_LaTeX | R Documentation |
These functions are helper functions for turning R text into LaTeX. into (knitr) LaTeX code.
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)
fit_summary.table |
a table produced by |
fit_n |
an integer indicating which models the fit refers to (for defining captions) |
data_summary.table |
a table produced by |
goodness_of_fit.table |
a table produced by |
size |
a parameter for the size in LaTeX |
text |
a string of characters to turn into LaTeX |
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.
a string of characters
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
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.