Hi, I'm wondering if there is an easy way to output an R data.frame to nicely formatted LaTex table. I have a column of snp names (character vector) and a column of p-values (numeric vector) which look like "0.0001814571" that I'd like to format like "1.81 \times 10^{-4}" etc. I've found no easy way of doing this though, I wonder will I have to do it manually?
Thanks!
Paul.
Have you tried "
?sprintf
"?Have you tried
?sprintf
?Sweave is an R tool for generating documents, with tables support. Check that out. I dont have the experience with it to make this a proper Answer.