Last data update: 2014.03.03
|
R: Export to html file for class "mytable" or "cbind.mytable" of...
Export to html file for class "mytable" or "cbind.mytable" of "data.frame"
Description
Export to html file for class "mytable" or "cbind.mytable" of "data.frame"
Usage
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)
Arguments
x |
An object of class "mytable" or "cbind.mytable"
|
caption |
A character
|
rownames |
A logical value wheher or not include rownames in table
|
Methods (by class)
-
default :
-
mytable :
-
cbind.mytable :
Examples
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)
Results
|