Re: [R] Thanks!

From: Petr PIKAL <petr.pikal_at_precheza.cz>
Date: Thu, 10 Jul 2008 12:12:41 +0200

Hi

You can try the intro book by Peter Dalgaard and I found useful also R-tips (statsRus), You can find it through google.

Regards
Petr

r-help-bounces_at_r-project.org napsal dne 10.07.2008 06:25:36:

>
> Thanks! I'll use the which.min function. I've been learning R from the
pdfs
> on the CRAN website, but I find the texts to be generally introductory,
not
> comprehensive, and focused on one niche purpose. Can anyone suggest a
good
> self-teach guide?
>
> Thanks again!
>
>
> R_Learner wrote:
> >
> > I have a long list of numbers [3.4,5.4,3.67,....], and I basically
want to
> > find the index of the number closest to this number that I have, let's
say
> > 5.43. How would I do this without writing a for loop (I have to do
this
> > many times for several lists)? Is there a "lookup" function in R?
> >
> > Thanks!
> >
>
> --
> View this message in context:
http://www.nabble.com/Find-the-closest-value-in-
> a-list-or-matrix-tp18363290p18375656.html
> Sent from the R help mailing list archive at Nabble.com.
>
> ______________________________________________
> 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.



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. Received on Thu 10 Jul 2008 - 10:33:52 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Thu 10 Jul 2008 - 11:31:35 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive