mylatex | R Documentation |
Exporting "cbind.mytable","mytable" to LaTeX format
mylatex(
myobj,
size = 5,
caption = NULL,
caption.placement = "top",
caption.position = "c"
)
## Default S3 method:
mylatex(
myobj,
size = 5,
caption = NULL,
caption.placement = "top",
caption.position = "c"
)
## S3 method for class 'mytable'
mylatex(
myobj,
size = 5,
caption = NULL,
caption.placement = "top",
caption.position = "c"
)
## S3 method for class 'cbind.mytable'
mylatex(
myobj,
size = 5,
caption = NULL,
caption.placement = "top",
caption.position = "c"
)
myobj |
An object of class 'mytable' |
size |
An integer indicating font size, defaulting is 5. |
caption |
A character |
caption.placement |
The caption will be have placed at the top of the table if caption.placement is "top" and at the bottom of the table if it equals "bottom". Default value is "top". |
caption.position |
The caption will be have placed at the center of the table if caption.position is "center" or "c", and at the left side of the table if it equals "left" or "l", and at the right side of the table if it equals "right" or "r". Default value is "center". |
mylatex(default)
: Exporting "cbind.mytable","mytable" to LaTeX format
mylatex(mytable)
: Exporting "cbind.mytable","mytable" to LaTeX format
mylatex(cbind.mytable)
: Exporting "cbind.mytable","mytable" to LaTeX format
require(moonBook)
out=mytable(sex~.,data=acs)
mylatex(out)
out1=mytable(sex+Dx~.,data=acs)
mylatex(out1,size=6)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.