[Rd] match() (PR#13135)

From: <wchen_at_stat.tamu.edu>
Date: Tue, 07 Oct 2008 00:05:06 +0200 (CEST)


Full_Name: Willa Chen
Version: 2.7.2
OS: Window XP
Submission from: (NULL) (128.122.182.70)

The match function does not return value properly. See an example below.

> a<-seq(0.6,1,by=0.01)
> match(0.88,a)

[1] 29
> match(0.89,a)

[1] NA
> match(0.90,a)

[1] NA
> match(0.91,a)

[1] NA
> match(0.92,a)

[1] NA
> match(0.93,a)

[1] NA
> match(0.94,a)

[1] 35



R-devel_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Sat 11 Oct 2008 - 19:00:49 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 Sat 11 Oct 2008 - 20:30:18 GMT.

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

list of date sections of archive