[Rd] pt fails with ncp

Torsten Hothorn Torsten.Hothorn@rzmail.uni-erlangen.de
Tue, 4 Dec 2001 18:25:08 +0100 (MET)


?pt states that ncp=0 is default, so this is correct

> pt(3,3)
[1] 0.9711656
> pt(3,3, ncp=0)
[1] 0.9711656

but this is not

> pt(-Inf,3)
[1] 0
> pt(-Inf,3,ncp=0)
[1] 0.5

is it?

Torsten

--please do not edit the information below--

Version:
 platform = i686-pc-linux-gnu
 arch = i686
 os = linux-gnu
 system = i686, linux-gnu
 status = Under development (unstable)
 major = 1
 minor = 4.0
 year = 2001
 month = 12
 day = 03
 language = R

Search Path:
 .GlobalEnv, package:ctest, Autoloads, package:base

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._