[R] help!!!
    guowei at stat.osu.edu 
    guowei at stat.osu.edu
       
    Thu Nov 29 04:06:08 CET 2007
    
    
  
Hi,
I want to ask a question about expression for object.
In the example parts, I saw
 trig.exp <- expression(sin(cos(x + y^2)))
 D(trig.exp, c("x", "y"))
Now, I want to define a complex function in "expression", for example,
f1(x)=...
         f2(y)=..
         final f=f2(f1(x)+4)
may I define such expression with many statements?
thanks.
regards,
wei
-- 
Wei Guo
Department of Statistics
The Ohio State University
Columbus, Ohio 43210
Tel: 001-614-292-4713(o)
e-mail: guowei at stat.osu.edu
    
    
More information about the R-help
mailing list