[R] Curve Fitting/Regression with Multiple Observations
Kyeong Soo (Joseph) Kim
kyeongsoo.kim at gmail.com
Sun May 2 22:25:21 CEST 2010
Many thanks for the suggestion!
That may reduce the computational time needed to find x value given
the y one (for hundreds of pairs). Certainly, I will look into manuals
for approx() and approxfun() in this regard.
Again, thanks for your taking time to read my previous posts and make
this valuable suggestion.
On Sat, May 1, 2010 at 12:41 AM, Greg Snow <Greg.Snow at imail.org> wrote:
> I did not understand enough of the rest of your question to give any better response than others have given.
> Looking back at your previous posts, there is one suggestion that I can make that may help. You can use the approx or approxfun functions to approximate an inverse, just generate a bunch of x,y pairs from your function, then feed them to approx while switching x and y. Not an exact inverse, but if you give it enough points then it will be close.
> Gregory (Greg) L. Snow Ph.D.
> Statistical Data Center
> Intermountain Healthcare
> greg.snow at imail.org
>> -----Original Message-----
>> From: Kyeong Soo (Joseph) Kim [mailto:kyeongsoo.kim at gmail.com]
>> Sent: Friday, April 30, 2010 5:24 PM
>> To: Greg Snow
>> Cc: r-help at r-project.org
>> Subject: Re: [R] Curve Fitting/Regression with Multiple Observations
>> I have already learned a lot from the list, both technical and not,
>> and cannot thank enough for those valuable suggestions. In fact, as
>> said in my previous posts, I got really critical help and advices,
>> which really addresses the issues I have.
>> By the way, there is one point or two in your post I agree on, but I
>> am not sure why you just pointed out side issues (by snipping a part
>> of my saying) without touching the main topic of this thread at all. I
>> can go on but won't because arguing for the sake of argument is of no
>> value to anyone in this thread.
>> It would have been better if you could have focused on the topic and
>> provided some technical and practical information which I could learn
>> from and be very thankful for.
>> On Fri, Apr 30, 2010 at 11:35 PM, Greg Snow <Greg.Snow at imail.org>
>> >> -----Original Message-----
>> >> From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-
>> >> project.org] On Behalf Of Kyeong Soo (Joseph) Kim
>> >> Sent: Friday, April 30, 2010 4:10 AM
>> >> To: kMan
>> >> Cc: r-help at r-project.org
>> >> Subject: Re: [R] Curve Fitting/Regression with Multiple Observations
>> > [snip]
>> >> By the way, I wonder why most of the responses I've received from
>> >> list are so cynical (or skeptical?) and in some sense done in a
>> >> arrogant way. It's very hard to imagine that one would receive such
>> >> responses in my own areas of computer simulation and optical
>> >> communications/networking. If a newbie asks a question to the list
>> >> making much sense or another FAQ, that is usually ignored (i.e., no
>> >> response) because all we are too busy to deal with that. Sometimes,
>> >> though, a kind soul (like Gabor) takes his/her own valuable time and
>> >> doesn't mind explaining all the details from simple basics.
>> > In my experience with this list, and others, the perceived level of
>> cynical/skeptical/arrogant answers has more to do with the reader than
>> with the writer. If you want to be offended, you will find things to
>> be offended about even when none was intended. If you look for help
>> and useful responses (follow the posting guide) and are thankful for
>> what you learn, you will learn more and be bothered less.
>> > R-help is a mixture of different levels and cultures. In framing
>> responses it is hard to know what the other person may find offensive
>> (I was once yelled at and chewed out quite thoroughly for truthfully
>> answering "no" when asked if I drink coffee).
>> > Most responders on this list (actually I would say all, but there
>> might be an exception that I have not noticed) are trying to be
>> helpful, there is just a large variability in the tones of the
>> > --
>> > Gregory (Greg) L. Snow Ph.D.
>> > Statistical Data Center
>> > Intermountain Healthcare
>> > greg.snow at imail.org
>> > 801.408.8111
More information about the R-help