
Last chance! 50% off unlimited learning
Sale ends in
Export to csv file for class "cbind.mytable"
# S3 method for cbind.mytable
mycsv(x, row.names = FALSE, ...)
An object of class "cbind.mytable" a result of a call to 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)
res1=mytable(sex+Dx~age+DM,data=acs)
mycsv(res1,file="test1.csv")
mycsv(summary(res1),file="testsummary1.csv")
# }
Run the code above in your browser using DataLab