powered by
m2l converts a matrix into TeX code with square brackets.
m2l(matrix)
TeX code of the matrix in 'Sweave' file.
a matrix
rm2l, m22l, rcm2l, cm2l
rm2l
m22l
rcm2l
cm2l
a <- matrix(sample(c(-10:10),12),nrow =3,byrow=TRUE) m2l(a)
Run the code above in your browser using DataLab