powered by
Shorthand for imsplit followed by purrr::map_df
idply(im, axis, fun, ...)
image
axis for the split (e.g "c")
function to apply
extra arguments to function fun
idply(boats,"c",mean) #mean luminance per colour channel
Run the code above in your browser using DataLab