[R] Building a function

Laurent Gautier laurent at cbs.dtu.dk
Thu Aug 1 14:51:14 CEST 2002


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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list