xarray: Convert a LaTex-style array for use in rmarkdown

Description Usage Arguments Value

View source: R/xarray.R

Description

This function utilizes xtable::xtable to return an array class object. This is useful for rendering matrices in rmarkdown documents and presentations

Usage

1
xarray(table, digits = NULL, matrix = FALSE, ...)

Arguments

table

A data.frame or matrix to be converted

digits

Sets the number of significant digits for numeric values

matrix

A logical indicating if table is a matrix-class object.

...

Additional options used in xtable::print.xtable

Value

An printed LaTeX array class object


Auburngrads/SMRD documentation built on Sept. 14, 2020, 2:21 a.m.