mycsv.mytable: Export to csv file for class "mytable"

Description Usage Arguments Examples

View source: R/mycsv.R

Description

Export to csv file for class "mytable"

Usage

1
2
## S3 method for class 'mytable'
mycsv(x, row.names = FALSE, ...)

Arguments

x

An object of class "mytable" a result of a call to 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

1
2
3
4
5
6
7
8
## 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")

## End(Not run)

Example output



moonBook documentation built on Jan. 5, 2022, 9:06 a.m.