[R] Source of chickwts data

2010-06-07 Thread Chirok Han
I'm not sure if this is the right mailing list. My apologies if I'm
sending the question to the wrong mailing list.
(The r-packages list moderator suggested using the R-help list.)

My question is about the chickwts data in the datasets package.
According to help(chickwts), the source of the data is

 Anonymous (1948) Biometrika, 35, 214.

But this reference seems irrelevant.
(See http://www.jstor.org/stable/i315414.)

The help document also gives McNeil, D. R. (1977) Interactive Data
Analysis. New York: Wiley as a reference, but unfortunately my local
library does not keep the book. Could someone please help me find the
correct source of the data?

Many thanks.

Chirok

__
R-help@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.


Re: [R] Source of chickwts data

2010-06-07 Thread Chirok Han
Many thanks. That's the right one.
It would be better corrected in the next version of R.

Thanks again.
Chirok

On Tue, Jun 8, 2010 at 6:01 AM, William Dunlap wdun...@tibco.com wrote:
 -Original Message-
 From: r-help-boun...@r-project.org
 [mailto:r-help-boun...@r-project.org] On Behalf Of Chirok Han
 Sent: Monday, June 07, 2010 9:51 AM
 To: r-help
 Subject: [R] Source of chickwts data

 I'm not sure if this is the right mailing list. My apologies if I'm
 sending the question to the wrong mailing list.
 (The r-packages list moderator suggested using the R-help list.)

 My question is about the chickwts data in the datasets package.
 According to help(chickwts), the source of the data is

  Anonymous (1948) Biometrika, 35, 214.

 But this reference seems irrelevant.
 (See http://www.jstor.org/stable/i315414.)

 The help document also gives McNeil, D. R. (1977) Interactive Data
 Analysis. New York: Wiley as a reference, but unfortunately my local
 library does not keep the book. Could someone please help me find the
 correct source of the data?

 McNeil's book, page 30, attributes it to
  Anonymous query, Biometrics, 1948, page 214

 Bill Dunlap
 Spotfire, TIBCO Software
 wdunlap tibco.com


 Many thanks.

 Chirok

 __
 R-help@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@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] get names of list elements

2009-10-31 Thread Chirok Han
Hi

Consider
 a - 1:5; b - 6:10
 x - list(a=a,b=b)
 y - list(a,b)

I can get c(a,b) from x using names(x). Is it also possible to get
a and b from y? (The command names(y) gives NULL.)

Thanks in advance.

Chirok

__
R-help@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.