Make latex array
Usage
latexarray(
M,
left = "",
right = "",
env = "array",
includenames = TRUE,
align = NULL,
lines = TRUE
)
Arguments
- M
A matrix
- left
left delimiter options: [(|
- right
right delimiter options: ])|
- env
Array environment
- includenames
Include column and row names
- align
Column alignment. For a three column matrix, alignment defaults to centering columns("ccc"). If there are row labels, the default would be "r|ccc" to right-align the row labels and separate them with vertical line.
- lines
Include lines separating column and row names