powered by
This is just a shortcut for purrr::map followed by imappend
liply(lst, fun, axis, ...)
a list
function to apply
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
Run the code above in your browser using DataLab