Learn R Programming

edina (version 0.1.1)

print.q_matrix: Printing out a Q Matrix Object

Description

Custom print method for the Q Matrix Object.

Usage

# S3 method for q_matrix
print(x, ...)

Arguments

x

An q_matrix object

...

Additional methods passed onto the print.matrix method.

Value

An invisible matrix without the q_matrix class displayed as a part of the output displayed.

See Also

q_matrix(), as_q_matrix()

Examples

Run this code
# NOT RUN {
# Q matrix values
x = matrix(c(1, 0, 0, 1), nrow = 2)

# Show Q matrix structure
q_matrix(x)
# }

Run the code above in your browser using DataLab