| assert_shapes | R Documentation |
Checks that shapes is a non-empty list() of valid shapes, see assert_shape().
assert_shapes(
shapes,
coerce = TRUE,
named = FALSE,
null_ok = FALSE,
unknown_batch = NULL
)
shapes |
( |
coerce |
( |
named |
( |
null_ok |
( |
unknown_batch |
( |
The shapes, coerced to integer() if coerce is TRUE.
Other Shape Assertions:
assert_dim_in_range(),
assert_known_dims(),
assert_ndim(),
assert_not_batch_dim(),
assert_positive_extent(),
assert_same_batch_size(),
assert_same_ndim(),
assert_shape()
assert_shapes(list(c(NA, 3), c(NA, 5)))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.