assert_square | R Documentation |
Check Matrix
assert_square(x)
assert_symmetric(x)
x |
A |
Throw an error, if any, and returns x
invisibly otherwise.
N. Frerebeau
Other validation methods:
assert_constant()
,
assert_data
,
assert_length()
,
assert_lower()
,
assert_names()
,
assert_numeric
,
assert_package()
,
assert_type()
,
validate()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.