| rray_dimensions_common | R Documentation |
rray_dimensions_common() finds the common dimensions among multiple
arrays using broadcasting rules. For each axis, dimensions are compatible
if they are equal or if one of them is 1.
rray_dimensions_common(..., .dimensions = NULL)
... |
Arrays. |
.dimensions |
If provided, an integer vector of dimensions to use
as an override, rather than computing common dimensions from |
An integer vector of common dimensions.
rray_dimensions_common(array(1, c(2, 3)), array(1, c(1, 3)))
rray_dimensions_common(1:5, array(1, c(1, 3)))
rray_dimensions_common(1:5, .dimensions = c(5L, 3L))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.