From uht at dfu.min.dk  Fri Feb  3 12:55:36 2006
From: uht at dfu.min.dk (uht@dfu.min.dk)
Date: Fri,  3 Feb 2006 12:55:36 +0100 (CET)
Subject: [Rd] pbinom with size argument 0 (PR#8560)
Message-ID: <20060203115536.699413F06E@slim.kubism.ku.dk>

Full_Name: Uffe H?gsbro Thygesen
Version: 2.2.0
OS: linux
Submission from: (NULL) (130.226.135.250)


Hello all.

  pbinom(q=0,size=0,prob=0.5)

returns the value NaN. I had expected the result 1. In fact any value for q
seems to give an NaN. Note that

  dbinom(x=0,size=0,prob=0.5)

returns the value 1.

Cheers,

Uffe



[Rd] pbinom with size argument 0 (PR#8560)
uht@dfu.min.dk