myhtml | R Documentation |
Export to html file for class "mytable" or "cbind.mytable" of "data.frame"
myhtml(x, caption = NULL, rownames = TRUE)
## Default S3 method:
myhtml(x, caption = NULL, rownames = TRUE)
## S3 method for class 'mytable'
myhtml(x, caption = NULL, rownames = TRUE)
## S3 method for class 'cbind.mytable'
myhtml(x, caption = NULL, rownames = TRUE)
x |
An object of class "mytable" or "cbind.mytable" |
caption |
A character |
rownames |
A logical value whether or not include rownames in table |
myhtml(default)
:
myhtml(mytable)
:
myhtml(cbind.mytable)
:
require(moonBook)
res=mytable(sex~age+Dx,data=acs)
myhtml(res)
res1=mytable(sex+Dx~.,data=acs)
myhtml(res1)
x=head(iris)
myhtml(x)
myhtml(x,caption="Table 1. myhtml Test")
myhtml(x,caption="Table 1. myhtml Test",rownames=FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.