Hello!
I was wondering which is the best way to implement a function that accept two types of inputs. Let's say I have the function:
foo <- function(param1, param2, param3){}
but also would like to pass those same params via config file (say a yaml file) for convenience:
foo <- function(file) {}
Thanks!
Xavi.