Learn R Programming

Tex4exams (version 0.1.2)

rm2l: Convert a matrix into its transpose in TeX code

Description

rm2l converts a matrix into its transpose in TeX code.

Usage

rm2l(matrix)

Value

It return the transpose of the input matrix in latex code.

Arguments

matrix

a matrix.

See Also

m2l, m22l, rcm2l, cm2l

Examples

Run this code
a <- matrix(sample(c((-10):10),12),nrow =3,byrow=TRUE)
rm2l(a)

Run the code above in your browser using DataLab