assert_square {arkhe}R Documentation

Check Matrix

Description

Check Matrix

Usage

assert_square(x)

assert_symmetric(x)

Arguments

x

A matrix to be checked.

Value

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

Author(s)

N. Frerebeau

See Also

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


[Package arkhe version 1.6.0 Index]