I have a grid of values in R (in the form of a matrix.
That is it looks like
0.05 0.06 0.07
0.1 11 12 15
0.11 11 14 15
0.12 13 15 17
...
What is the best way to show this in tex? Is there an easy way to do it?
I have a grid of values in R (in the form of a matrix.
That is it looks like
0.05 0.06 0.07
0.1 11 12 15
0.11 11 14 15
0.12 13 15 17
...
What is the best way to show this in tex? Is there an easy way to do it?
Try using the xtable function from the xtable library.
EDIT: Sorry for not including sample code:
mat <- matrix(c(11, 11, 13, 12, 14, 15, 15, 15, 17), 3, 3)
library(xtable)
xtable(mat)