Skip to content

Building a function

2 messages · Florent BATY, Laurent Gautier

#
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
#
On Thu, Aug 01, 2002 at 11:44:31AM +0200, Florent BATY wrote:
Did you check with the example (in 'help(as.function)') ?

If yes, can you give more details ?




L.