toLatex.cmpoutput | R Documentation |
cmpoutput
object to LaTeX
tableThis method converts cmpoutput
objects to character vectors
representing LaTeX
tables.
## S3 method for class 'cmpoutput'
toLatex(object, cmp_name = "Comp. 1", ...)
object |
A |
cmp_name |
Comparison name (to appear in table). |
... |
Any options accepted by the |
This method simply wraps the cmpoutput
object into a
micomp
object, and invokes toLatex.micomp
on the
wrapped object.
A character vector where each element holds one line of the
corresponding LaTeX
table.
# Create a cmpoutput object by comparing the first output ("Pop.Sheep") of
# one the provided datasets.
cmp <-
cmpoutput("SheepPop", 0.9, pphpc_ok$data[["Pop.Sheep"]], pphpc_ok$obs_lvls)
# Print latex table source to screen
toLatex(cmp)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.