Skip to content
Prev 5803 / 398506 Next

backslash

On Tue, 23 May 2000 Robert.King at mailbox.gu.edu.au wrote:

            
You can use write.table to produce the data portion of the table, which is
a bit simpler

eg
write.table(round(x,2),quote=FALSE,sep="$ & $",eol="$\\\\
\n $",col.names=FALSE,row.names=FALSE)

where the $ signs ensure that negative numbers are printed with a minus
sign rather than a hyphen.

	-thomas

Thomas Lumley
Assistant Professor, Biostatistics
University of Washington, Seattle

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._