[R] Plotting math functions
dmurdoch at pair.com
Thu Jul 24 17:27:59 CEST 2003
On Thu, 24 Jul 2003 16:55:55 +0200, Jonck van der Kogel
<jonck at vanderkogel.net> wrote :
>I was wondering whether it is possible to plot math functions, for
>example sin, cos or a Gaussian type function, in R, and if so, how to
>do it. I have been searching through the archives and the R manual but
>had no luck in finding any hints on how to go about this.
>Any help is much appreciated!
You can use
plot(sin, from=-10, to=10)
This calls plot.function; look at ?plot.function to read about the
More information about the R-help