m2l {Tex4exams}R Documentation

Converting a matrix into TeX code of a matrix with square brackets

Description

m2l converts a matrix into TeX code with square brackets.

Usage

m2l(matrix)

Arguments

matrix

a matrix

Value

TeX code of the matrix in 'Sweave' file.

See Also

rm2l, m22l, rcm2l, cm2l

Examples

a <- matrix(sample(c(-10:10),12),nrow =3,byrow=TRUE)
m2l(a)


[Package Tex4exams version 0.1.2 Index]