mycsv {moonBook} | R Documentation |
Export to csv file for class "mytable" or "cbind.mytable"
Description
Export to csv file for class "mytable" or "cbind.mytable"
Usage
mycsv(x, row.names = FALSE, ...)
Arguments
x |
An object of class "mytable" or "cbind.mytable" |
row.names |
either a logical value indicating whether the row names of x are to be written along with x, or a character vector of row names to be written. |
... |
further arguments passed to or from other methods. |
Examples
## Not run:
require(moonBook)
res=mytable(sex~age+DM,data=acs)
mycsv(res,file="test.csv")
mycsv(summary(res),file="testsummary.csv")
## End(Not run)
[Package moonBook version 0.3.1 Index]