Hello, Is it possible to build a function, a posteriori, by getting the names of the arguments and the formula in a list or a vector ? When I use the function as.function(), I don't know how to define explicitly the names of my variables as formal arguments. Thanks _______________________________________ Florent BATY CNRS UMR 5558 Dynamique des Populations Bact?riennes Facult? de M?decine Lyon-Sud 69921 OULLINS, BP 12 FRANCE tel : +33 (0)4 78 86 31 67 fax : +33 (0)4 78 86 31 49 _______________________________________ -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
Building a function
2 messages · Florent BATY, Laurent Gautier
On Thu, Aug 01, 2002 at 11:44:31AM +0200, Florent BATY wrote:
Hello, Is it possible to build a function, a posteriori, by getting the names of the arguments and the formula in a list or a vector ? When I use the function as.function(), I don't know how to define explicitly the names of my variables as formal arguments. Thanks
Did you check with the example (in 'help(as.function)') ? If yes, can you give more details ? L.
-------------------------------------------------------------- Laurent Gautier CBS, Building 208, DTU PhD. Student DK-2800 Lyngby,Denmark tel: +45 45 25 24 89 http://www.cbs.dtu.dk/laurent -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._