Søren,

If you think summary() should report  NA's, then it's better to post your question on r-devel list (r-devel@r-project.org <mailto:r-devel@r-project.org>).
I think that summary(1:5) is not reporting NA's because there is no NA in your data. For the same reason it's not reporting NaN's, Inf's etc.

Regards,
Ferdinand 



Søren Højsgaard wrote:

>Consider
>  
>
>>summary(1:5)
>>    
>>
>   Min. 1st Qu.  Median    Mean 3rd Qu.    Max. 
>      1         2         3          3          4        5 
>  
>
>>summary(c(1:5,NA))
>>    
>>
>   Min. 1st Qu.  Median    Mean 3rd Qu.    Max.    NA's 
>      1         2         3          3          4         5       1 
>
>Wouldn't it be more stringent if "NA's" was also reported in the first case??
>Regards
>Søren
>
>______________________________________________
>R-devel@r-project.org mailing list
>https://stat.ethz.ch/mailman/listinfo/r-devel
>
>  
>


-- 
Ferdinand Alimadhi
Programmer / Analyst
Harvard University
The Institute for Quantitative Social Science
(617) 496-0187
falimadhi@iq.harvard.edu
www.iq.harvard.edu


	[[alternative HTML version deleted]]


