print.q_matrix: Printing out a Q Matrix Object

Description Usage Arguments Value See Also Examples

View source: R/q-matrix.R

Description

Custom print method for the Q Matrix Object.

Usage

1
2
## S3 method for class '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

1
2
3
4
5
# Q matrix values
x = matrix(c(1, 0, 0, 1), nrow = 2)

# Show Q matrix structure
q_matrix(x)

edina documentation built on March 26, 2020, 9:30 p.m.