Created
November 18, 2018 14:44
-
-
Save ymattu/5fd39d45e5a1bf37ca420776bf97929f to your computer and use it in GitHub Desktop.
apply multiple functions to one object
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
inverse_map <- function(x, ...){ | |
mthd <- list(...) | |
lapply(mthd, function(m) do.call(m,list(x))) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment