[R] A strange behaviour in the graphical function "curve"
Julio Sergio
juliosergio at gmail.com
Fri Apr 12 14:26:53 CEST 2013
Berend Hasselman <bhh <at> xs4all.nl> writes:
>
> Yes. curve expects the function you give it to return a vector if the input
argument is a vector.
> This is clearly documented for the argument "expr" of curve.
Thanks a lot, Berend!
In fact, I didn't read carefully the documentation of "curve". Anyway, I
wouldn't know how to transform my function into one that would be accepted by
"curve", so your feedback has been very useful for me.
-Sergio.
More information about the R-help
mailing list