Let's say I have a tibble (or data frame, whatever) with a list of function names. Let's say, something like:
functions <- tibble(c("log()", "log10()", "sqrt()"))
I want to be able to pipe a data set to one of these functions, chosen by index. For example, I might want to do something like:
data %>% functions[[1]]
But I can't seem to get it to work. I'm very new to pipes, but I am pretty sure this is easy, even if can't get it to work with !! etc.
Thanks in advance.