Re: [R] strange results in summary and IQR functions

2009-09-09 Thread John Kane
, Chunhao Tu tu_chun...@yahoo.com wrote: From: Chunhao Tu tu_chun...@yahoo.com Subject: [R] strange results in summary and IQR functions To: r-help@r-project.org Received: Tuesday, September 8, 2009, 11:09 AM Dear R users, Something is strange in summary and IQR. Suppose, I have a data

[R] strange results in summary and IQR functions

2009-09-08 Thread Chunhao Tu
Dear R users, Something is strange in summary and IQR. Suppose, I have a data set and I would like to find the Q1, Q2, Q3 and IQR. x-c(2,4,11,12,13,15,31,31,37,47) summary(x) Min. 1st Qu. MedianMean 3rd Qu.Max. 2.00 11.25 14.00 20.30 31.00 47.00 IQR(x) [1] 19.75

Re: [R] strange results in summary and IQR functions

2009-09-08 Thread Erik Iverson
Message- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On Behalf Of Chunhao Tu Sent: Tuesday, September 08, 2009 10:09 AM To: r-help@r-project.org Subject: [R] strange results in summary and IQR functions Dear R users, Something is strange in summary and IQR. Suppose, I