Learn R Programming

arkhe (version 1.7.0)

assert_square: Check Matrix

Description

Check Matrix

Usage

assert_square(x)

assert_symmetric(x)

Value

Throw an error, if any, and returns x invisibly otherwise.

Arguments

x

A matrix to be checked.

Author

N. Frerebeau

See Also

Other validation methods: assert_constant(), assert_data, assert_length(), assert_lower(), assert_names(), assert_numeric, assert_package(), assert_type(), validate()