m2l: Converting a matrix into TeX code of a matrix with square...

View source: R/m2l.R

m2lR 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)


Tex4exams documentation built on May 31, 2023, 8:04 p.m.

Related to m2l in Tex4exams...