Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Filter(is.numeric, mtcars) %>%
- split(.$cyl) %>%
- lapply(., function(x) colMeans(x))
- Filter(is.numeric, mtcars) %>%
- lapply(split(., cyl), function(x) colMeans(x))
- Error in match.fun(FUN) :
- 'split(., cyl)' is not a function, character or symbol
Add Comment
Please, Sign In to add comment