Re: [R] Quartiles and Inter-Quartile Range

2010-01-25 Thread eeramalho
Thank you David. I got it now. Maybe you can help again. I am typing the following code to draw a QQ plot but the line does not look right? *** qqnorm(cbiomass) qqline(cbiomass) *** the graph looks very different from the graph generated by SAS. Thank you

[R] Quartiles and Inter-Quartile Range

2010-01-22 Thread eeramalho
Why am I getting a wrong result for quartiles? here is my code: > cbiomass = c(910, 1058, 929, 1103, 1056, 1022, 1255, 1121, , 1192, > 1074, 1415) > summary(cbiomass) > IQR(cbiomass) The result R gives me is: For the summary > Min. 1st Qu. MedianMean 3rd Qu.Max. 9101048