s-news
[Top] [All Lists]

RE: [S] Coordinates of Intersection Points

To: "S-NEWS" <s-news@utstat.toronto.edu>, "Ming Ji" <mji@wald.ucdavis.edu>
Subject: RE: [S] Coordinates of Intersection Points
From: "Ed Callahan" <lists@envstat.com>
Date: Sun, 26 Apr 1998 19:50:43 -0500
Importance: Normal
In-reply-to: <Pine.ULT.3.91.980426160744.1832A-100000@wald.ucdavis.edu>
Sender: owner-s-news@wubios.wustl.edu
If you have two curves f(x) and g(x) you could try using the function
uniroot to solve for a value of x where f(x)-g(x)=0.  You'll need to be
careful if the curves cross in more than one place.

Ed

----------------------------------
  Edward Callahan
  Environmental Statistics

  callahan@envstat.com
  http://www.envstat.com
----------------------------------

-----Original Message-----

Dear S+ Friends:

Are there ways other than using the command locator() to get the
coordinates of an intersection point of two curves?  locator() is not
very easy to use and can not get accurate coordinates.

Thanks

Ming Ji
Division of Statistics
University of California
Davis, CA 95616
Email: mji@wald.ucdavis.edu

-----------------------------------------------------------------------
This message was distributed by s-news@wubios.wustl.edu.  To unsubscribe
send e-mail to s-news-request@wubios.wustl.edu with the BODY of the
message:  unsubscribe s-news

<Prev in Thread] Current Thread [Next in Thread>