Hi!
How to change parameters of a function during runtime.
instead for example calling with column names
subset(airquality, Day == 1, select = -Temp)
i want call subset with column indices something like this.
subset(airquality, xxx(names(airquality)[4])> 80 , select
c(xxx(names(airquality)[3]),xxx(names(airquality)[4])))
In genereral I am interested in changing the parameters during runtime.
for example i want to call at runtime
instead of:
plot(x,y,col=1).
plot(x,y,log= "xy")
by calling:
myarg<-"log"
myargval<-"xy"
plot(x,y,xxx(myarg,myargval))
It is possible to do that?
Sincerely Eryk
--
_ _ \|/ \|/
?v? 'v? 'v'
//| |\\ //| |\\ //| |\\
----m-m-----m-m-----m-m--------w-w-----
\\| |//
Eryk Witold Wolski .^.
/|\
wolski at molen.mpg.de
tel : 0049-(0)30-8413-1543
fax : 0049-(0)30-8413-1139
mobile : 0049-1793210931
http://www.molgen.mpg.de/~mass-spec
http://www.molgen.mpg.de/~wolski
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._