Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
xml
xml
# output to the R console
> ds.table2Dtable(xrvar='D$DIS_DIAB', ycvar='D$GENDER')
# prints to the current working directory into a file called test_table.csv in the current working directory 
> write.csv(x=ds.table2Dtable(xrvar='D$DIS_DIAB', ycvar='D$GENDER'), file = "test_table.csv") 

...

Tip

All arguments to customise the above functions can be found in their respective function manual pages.