Learn R Programming

arkhe (version 1.10.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 checking methods: assert_constant(), assert_dim(), assert_empty(), assert_infinite(), assert_length(), assert_lower(), assert_missing(), assert_names(), assert_numeric, assert_package(), assert_type(), assert_unique()