Custom print method for the Q Matrix Object.

# 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.

Examples

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

# Show Q matrix structure
q_matrix(x)
#> Q Matrix properties
#>    Items:  2 
#>    Traits:  2 
#>    Identifiable: 
#>  No.
#>       Trait1 Trait2
#> Item1      1      0
#> Item2      0      1