latex: Render to LaTeX methods for tangram cell objects
Description
Each of these methods will render the cell object as a LaTeX fragment
Usage
latex(object, ...)
# S3 method for default
latex(object, ...)
# S3 method for cell
latex(object, na.blank = TRUE, ...)
# S3 method for cell_label
latex(object, ...)
# S3 method for logical
latex(object, ...)
# S3 method for cell_header
latex(object, ...)
# S3 method for cell_subheader
latex(object, ...)
# S3 method for tangram
latex(object, fragment = TRUE, filename = NULL, append = FALSE, ...)
Value
the LaTeX rendering
Arguments
object
object; the item to render to latex
...
additional arguments
na.blank
logical; Dispaly NAs as blanks.
fragment
logical; Is this a complete LaTeX document or just the table fragment
filename
character; filename to write LaTex into
append
logical; Should the write be an append operation or overwrite
Details
There are addition arguments possible to control the rendering, but
due to some oddities between CRAN requirements and how R handles defaults
(for full details see the source code)
they are as follows
* cgroup.just character; The text of the column justification used in the table
* arraystretch numeric; The arraystretch parameter used for vertical spacing
* style character; can be null or "nejm" for different table styling
* pct_width numeric; a scaling to be applied to the entire table
* placement character; placement directive, defaults to "H"