Skip to content
Back to formatted view

Raw Message

Message-ID: <d7ineb$nbt$1@sea.gmane.org>
Date: 2005-05-31T22:14:13Z
From: Earl F. Glynn
Subject: Why does "summary" show number of NAs as non-integer?

Example:

> set.seed(19)
> summary( c(NA, runif(10,1,100), NaN) )
   Min. 1st Qu.  Median    Mean 3rd Qu.    Max.    NA's
  7.771  24.850  43.040  43.940  63.540  83.830   2.000

Why isn't the number of NA's just "2" instead of the "2.000" shown above?

efg