Learn R Programming

matrixset (version 0.4.0)

print.matrixset: Print a matrixset

Description

When printing a matrixset:

  • The number of matrices and their dimension is shown

  • Prints each matrix of the object, showing its type and dimension. Full matrices are shown only for those with 3 rows or less. Otherwise, only the first and last row is shown. The same also applies for the columns.

  • An exception to the point above: if the number of matrices is greater than n_matrices, the first n_matrices are displayed, while the others will be named only.

  • The row and column annotations (row_info/column_info) are displayed as tibble objects.

Usage

# S3 method for matrixset
print(x, ..., n_matrices = 2)

Value

Invisibly, the matrixset object.

Arguments

x

matrixset object to print

...

currently not used

n_matrices

Number of matrices to display

Examples

Run this code
print(student_results)
print(mrm_plus2015)

Run the code above in your browser using DataLab