powered by
Check Matrix
assert_matrix(x, expected)
Throw an error, if any.
A matrix to be checked.
matrix
A character string specifying the expected value. It must be one of "square" or "symmetric".
character
square
symmetric
N. Frerebeau
Other validation methods: check-attribute, check-data, check-graph, check-numeric, check-type, validate()
check-attribute
check-data
check-graph
check-numeric
check-type
validate()