powered by
Export to csv file for class "mytable"
# S3 method for mytable mycsv(x, row.names = FALSE, ...)
An object of class "mytable" a result of a call to mytable
mytable
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.
# NOT RUN { require(moonBook) res=mytable(sex~age+DM,data=acs) mycsv(res,file="test.csv") mycsv(summary(res),file="testsummary.csv") mycsv=function(x,row.names=FALSE) UseMethod("mycsv") # }
Run the code above in your browser using DataLab