[R] help!!!

Gabor Grothendieck ggrothendieck at gmail.com
Thu Nov 29 07:05:17 CET 2007


See if the examples in

demo(Ryacas)

are what you want (after installing and loading the package).  See:

http://ryacas.googlecode.com

On Nov 28, 2007 10:06 PM,  <guowei at stat.osu.edu> wrote:
> 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
>
> ______________________________________________
> R-help at 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.
>



More information about the R-help mailing list