HTML, LaTeX, and Markdown representations of Matrix-like objects
# S3 method for class 'matrix'
repr_html(
obj,
...,
rows = getOption("repr.matrix.max.rows"),
cols = getOption("repr.matrix.max.cols")
)
# S3 method for class 'data.frame'
repr_html(
obj,
...,
rows = getOption("repr.matrix.max.rows"),
cols = getOption("repr.matrix.max.cols")
)
# S3 method for class 'matrix'
repr_latex(
obj,
...,
rows = getOption("repr.matrix.max.rows"),
cols = getOption("repr.matrix.max.cols"),
colspec = getOption("repr.matrix.latex.colspec")
)
# S3 method for class 'data.frame'
repr_latex(
obj,
...,
rows = getOption("repr.matrix.max.rows"),
cols = getOption("repr.matrix.max.cols"),
colspec = getOption("repr.matrix.latex.colspec")
)
# S3 method for class 'matrix'
repr_markdown(
obj,
...,
rows = getOption("repr.matrix.max.rows"),
cols = getOption("repr.matrix.max.cols")
)
# S3 method for class 'data.frame'
repr_markdown(
obj,
...,
rows = getOption("repr.matrix.max.rows"),
cols = getOption("repr.matrix.max.cols")
)
# S3 method for class 'matrix'
repr_text(
obj,
...,
rows = getOption("repr.matrix.max.rows"),
cols = getOption("repr.matrix.max.cols")
)
# S3 method for class 'data.frame'
repr_text(
obj,
...,
rows = getOption("repr.matrix.max.rows"),
cols = getOption("repr.matrix.max.cols")
)The matrix or data.frame to create a representation for
ignored
The maximum number of rows displayed. The default is given by the option repr.matrix.max.rows
The maximum number of columns displayed. The default is given by the option repr.matrix.max.cols
The colspec for the LaTeX table. The default is given by the option repr.matrix.latex.colspec
repr-options for repr.matrix.latex.colspec