0
votes
0answers
93 views

Converting R input into tex [closed]

During my work with R on Markov chains, I have to handle big matrices, which I want to transfer into LaTeX documents. Is there an easy method to do that without changing every single "," in my R-code ...
5
votes
1answer
167 views

Plot weighted frequency matrix

I wish to create this plot preferably in pgfplots or tikz. I have actually got a version plotted (with help from SO), but I have used R and exported the plot using tikzDevice. I can't post the ...
3
votes
1answer
826 views

How to print a LaTeX matrix using xtable in R

I'm trying to get R to print a matrix as a LaTeX matrix using xtable, using the LaTeX environment bmatrix. a <- matrix(rnorm(25), 5 ,5) x <- xtable(x) > print(x, floating=FALSE, ...