[R] mean(NA)

From: Gorjanc Gregor <Gregor.Gorjanc_at_bfro.uni-lj.si>
Date: Thu 25 May 2006 - 21:31:14 EST


Hello!  

I was just caught with the following:  

> mean(NA)

[1] -2147483648  

Is this OK. I thought that I should get NA. I use R 2.3.0  

--please do not edit the information below--

Version:

platform = i386-pc-mingw32

arch = i386

os = mingw32

system = i386, mingw32

status =

major = 2

minor = 3.0

year = 2006

month = 04

day = 24

svn rev = 37909

language = R

version.string = Version 2.3.0 (2006-04-24)

Windows XP Professional (build 2600) Service Pack 2.0

Locale:

LC_COLLATE=Slovenian_Slovenia.1250;LC_CTYPE=Slovenian_Slovenia.1250;LC_MONETARY=Slovenian_Slovenia.1250;LC_NUMERIC=C;LC_TIME=Slovenian_Slovenia.1250

Search Path:

.GlobalEnv, package:methods, package:stats, package:graphics, package:grDevices, package:utils, package:datasets, Autoloads, package:base

Lep pozdrav / With regards,

    Gregor Gorjanc


University of Ljubljana     PhD student
Biotechnical Faculty        URI: http://www.bfro.uni-lj.si/MR/ggorjan
Zootechnical Department     mail: gregor.gorjanc <at> bfro.uni-lj.si
Groblje 3                   tel: +386 (0)1 72 17 861
SI-1230 Domzale             fax: +386 (0)1 72 17 888
Slovenia, Europe

"One must learn by doing the thing; for though you think you know it,  you have no certainty until you try." Sophocles ~ 450 B.C.

R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Thu May 25 21:35:24 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Thu 25 May 2006 - 22:10:18 EST.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.