pbat.m) to disk.write.pbat( x, filename, resultsOnly=FALSE )
write.pbat.csv( x, filename, resultsOnly=FALSE )pbat.write.pbat, a text file is written out with an `&' symbol
delimiting the output section. Both the calling and results section are
preserved. If the file has the `.csv' extension, then
write.pbat.csv is called. With write.pbat.csv, the text file is of the standard `csv'
format to delimit the text file. This should be readable with any
spreadsheet program. Note that to use the R output (for the logrank
plots), you should open the file in a spreadsheet program and just
copy and paste it into R.