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: [EMAIL PROTECTED] ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.