array_to_df {picohdr} | R Documentation |
This conversion is useful when preparing the data to summarise with
ggplot
.
array_to_df(arr)
arr |
array |
data.frame with 'x', 'y', 'z', 'channel' and 'value.' 'channel' will be the channel name if found, otherwise it is equivalent to 'z'.
arr <- array(1:24, dim = c(4, 3, 2))
array_to_df(arr)