set_dim | R Documentation |
Set dimensions of an Object
set_dim(x, dim)
x |
an R object, for example a matrix, array or data frame. |
base::dim
x <- 1:12
set_dim(x, c(3,4))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.