Learn R Programming

assertive (version 0.1-7)

assert_has_dims: Does the input have dimensions?

Description

Checks to see if the input has dimensions.

Usage

assert_has_dims(x)

  has_dims(x)

Arguments

x
Input to check.

Value

  • has_dims returnsTRUE if dim is non-null. assert_has_dims returns nothing but throws an error if has_dims is not TRUE.

See Also

dim.