Description Usage Arguments Value See Also Examples
Checks to see if the input is a QR decomposition of a matrix.
1 2 3 | assert_is_qr(x, severity = getOption("assertive.severity", "stop"))
is_qr(x, .xname = get_name_in_parent(x))
|
x |
Input to check. |
severity |
How severe should the consequences of the assertion be?
Either |
.xname |
Not intended to be used directly. |
is_qr
wraps is.qr
, providing more
information on failure. assert_is_qr
returns nothing but
throws an error if is_qr
returns FALSE
.
1 | assert_is_qr(qr(matrix(rnorm(25), nrow = 5)))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.