powered by
## S3 method for class 'cimg': as.data.frame(x, ...)
im <- matrix(1:16,4,4) %>% as.cimg as.data.frame(im) %>% head
Run the code above in your browser using DataLab