permute_axes | R Documentation |
By default images are stored in xyzc order. Use permute_axes to change that order.
permute_axes(im, perm)
im |
an image |
perm |
a character string, e.g., "zxyc" to have the z-axis come first |
im <- array(0,c(10,30,40,3)) %>% as.cimg
permute_axes(im,"zxyc")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.