[Rd] lower.tail for plnorm (PR#9520)

candrews at buffalo.edu candrews at buffalo.edu
Mon Feb 19 17:47:02 CET 2007


Full_Name: Chris Andrews
Version: 2.4.1
OS: Windows XP
Submission from: (NULL) (128.205.90.25)



# CDF works as expected (=0)
pnorm(-Inf) # 0
plnorm(0)  # 0

# specifying lower.tail=FALSE should give survival function (=1)
pnorm(-Inf, lower.tail=FALSE) # 1
plnorm(0, lower.tail=FALSE) # 0 != 1



More information about the R-devel mailing list