Description Usage Arguments Value See Also Examples
as.q_matrix
acts as an aliases.
1 2 3 4 5 6 7 8 9 10 | as_q_matrix(x, ...)
## S3 method for class 'data.frame'
as_q_matrix(x, ...)
## S3 method for class 'matrix'
as_q_matrix(x, ...)
## Default S3 method:
as_q_matrix(x, ...)
|
x |
Either a |
... |
Not used |
A q_matrix
object.'
1 2 3 4 5 | # Q matrix values
x = matrix(c(1, 0, 0, 1), nrow = 2)
# Construct class
q_mat = as_q_matrix(x)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.