is_qr: Is the input a QR decomposition of a matrix?

Description Usage Arguments Value See Also Examples

View source: R/is-type-base.R

Description

Checks to see if the input is a QR decomposition of a matrix.

Usage

1
2
3
assert_is_qr(x, severity = getOption("assertive.severity", "stop"))

is_qr(x, .xname = get_name_in_parent(x))

Arguments

x

Input to check.

severity

How severe should the consequences of the assertion be? Either "stop", "warning", "message", or "none".

.xname

Not intended to be used directly.

Value

is_qr wraps is.qr, providing more information on failure. assert_is_qr returns nothing but throws an error if is_qr returns FALSE.

See Also

is.qr.

Examples

1

assertive.types documentation built on May 1, 2019, 10:31 p.m.