Thanks for the fast answer.. The problem with your "free" definition of f is, that it does not really fit my task.
I have to build a tree where each node contains the same function just with adjusted parameters. Setting the parameters in the function call is not really an option. Is there another way to do so? thanks ahead -- View this message in context: http://r.789695.n4.nabble.com/as-function-parameters-tp4620390p4627012.html Sent from the R help mailing list archive at Nabble.com. ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.