[R] How to find points of intersection

rex.dwyer at syngenta.com rex.dwyer at syngenta.com
Tue Feb 22 19:20:08 CET 2011


How is the curve defined?  If the curve is y=f(x) and the line is y=mx+b, you look for the roots of f(x)-mx-b.
?polyroot
?uniroot

-----Original Message-----
From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-project.org] On Behalf Of FMH
Sent: Tuesday, February 22, 2011 6:28 AM
To: r-help at r-project.org
Subject: [R] How to find points of intersection

Dear All,

I'm looking an appropriate way in R to compute/estimate  points of intersection
between a line and a curve and will really appreciate for any suggestion or
ideas?

Thank you,
Fir




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




message may contain confidential information. If you are not the designated recipient, please notify the sender immediately, and delete the original and any copies. Any use of the message by you is prohibited. 


More information about the R-help mailing list