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.

______________________________________________
R-help@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.

Reply via email to