gather_array {fido} | R Documentation |
Gather Multidimensional Array to Tidy Tibble
Description
Gather Multidimensional Array to Tidy Tibble
Usage
gather_array(a, value, ..., .id = NULL)
Arguments
a |
multidimensional array |
value |
unquoted name of column with values (defaults to "var") |
... |
unquoted dimension names (defaults to "dim_1", "dim_2", etc...) |
.id |
if specified, name for column created with name of a captured |
Value
data.frame
See Also
spread_array
Examples
a <- array(1:100, dim =c(10, 5, 2))
gather_array(a, sequence, A, B, C)
[Package fido version 1.1.1 Index]