- 1. NA's in string vector. (score: 1)
- Author: Vadim Kutsyy <vkutsyy@cytokinetics.com>
- Date: Thu, 6 Dec 2001 15:11:27 -0800
- Is there a way to define NA's in string vector? [1] F F F [1] "a" "NA" "b" [1] F F F Splus converge all NA's to "NA", which make problem in data.frames. Thanks, == Vadim Kutsyy, PhD http://www.kutsyy
- /archives/html/s-news/2001-12/msg00061.html (7,510 bytes)
- 2. Re: NA's in string vector. (score: 1)
- Author: Prof Brian D Ripley <ripley@stats.ox.ac.uk>
- Date: Fri, 7 Dec 2001 06:43:18 +0000 (GMT)
- Actually, that's a character vector, and for once the distinction matters. Under S4, `string' is a separate class, and the way I know to do this is to use the `string' class and is.na<-. See the Gree
- /archives/html/s-news/2001-12/msg00062.html (8,069 bytes)
- 3. Re: NA's in string vector. (score: 1)
- Author: "Gunter, Bert" <bert_gunter@merck.com>
- Date: Fri, 07 Dec 2001 08:51:30 -0500
- In fact, on p. 204 the Green book explicitly states: "string objects can have missing values...; character vectors contain pointers, for which S does not support the idea of NA." Unfortunately, it u
- /archives/html/s-news/2001-12/msg00064.html (9,320 bytes)
- 4. Re: NA's in string vector. (score: 1)
- Author: "David Smith" <dsmith@insightful.com>
- Date: Fri, 7 Dec 2001 15:29:57 -0800
- [This issue has been covered by other correspondents, but I wanted to clarify a couple of points.] There is no way for character vectors (objects of mode character) in S-PLUS to contain a missing val
- /archives/html/s-news/2001-12/msg00081.html (11,125 bytes)
This search system is powered by
Namazu