[Rd] Should NA's in summary() output always be reported???

Søren Højsgaard Soren.Hojsgaard at agrsci.dk
Thu Oct 12 22:44:18 CEST 2006


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




More information about the R-devel mailing list