[R] using RKWard for a function plot

Matthieu Stigler matthieu.stigler at gmail.com
Fri Mar 19 09:40:06 CET 2010


Not that I know, you should write the function yourself:
g<-1
f<-2
beta<-1
curve((-2*g*x*exp(-(x^ 2)/beta)/f))

But yes the idea to add such functionality within rkward is good :-)

Hope this helps

Mat



> Is it possible to use the RKWard GUI to just plot a function?  I will have 
> some exponential function, I need to plot u as a function of y where
>
>
>       u    =   -2yg  exp(-y2/beta)
>                 -----------------
>                     f
>
>    where everything else other than u and y are various constants.
>



More information about the R-help mailing list