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-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On 
Behalf Of FMH
Sent: Tuesday, February 22, 2011 6:28 AM
To: r-help@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@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. 
______________________________________________
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