Learn R Programming

arkhe (version 0.5.0)

check-matrix: Check Matrix

Description

Check Matrix

Usage

assert_matrix(x, expected)

Value

Throw an error, if any.

Arguments

x

A matrix to be checked.

expected

A character string specifying the expected value. It must be one of "square" or "symmetric".

Author

N. Frerebeau

See Also

Other validation methods: check-attribute, check-data, check-graph, check-numeric, check-type, validate()