[R] How to import simple java/mathematica expression to R

Andrey Siver andrey.siver at gmail.com
Sat Jul 24 09:49:43 CEST 2010


2010/7/24 David Winsemius <dwinsemius at comcast.net>:
>
> On Jul 23, 2010, at 10:29 PM, jim holtman wrote:
>
> It has some interesting properties with that identity definition of EE(x).
> Local maxima at 1 and 0, "blows up" beyond -1 and 2, and several local
> minima nearby:
>
> Math.Fn <- function(alp) { <big-long-expression> }
> plot( seq(-.3,1.5,by=0.01), Math.Fn(seq(-.3,1.5,by=0.01) ), cex=0.2)
>

Indeed, EE(x) is not a function with real x, but a symbol with
subscript - i.e. EE(1) and EE(2) are two variables e1 and e2.


Thanks for Your interest.

-- 
Regards,

   -Andrey



More information about the R-help mailing list