liply | R Documentation |
This is just a shortcut for purrr::map followed by imappend
liply(lst, fun, axis, ...)
lst |
a list |
fun |
function to apply |
axis |
which axis to append along (e.g. "c" for colour) |
... |
further arguments to be passed to fun |
build.im <- function(size) as.cimg(function(x,y) (x+y)/size,size,size)
liply(c(10,50,100),build.im,"y") %>% plot
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.