powered by
Coerce x to an rray. It will keep its dimensions and dimension names if it has any.
x
as_rray(x)
An object to coerce to an rray.
An rray.
# NOT RUN { as_rray(1) ex <- matrix(1:10, nrow = 5, dimnames = list(NULL, c("a", "b"))) as_rray(ex) # }
Run the code above in your browser using DataLab