R-beta: Re: [S] pbinom

Martin Maechler maechler at stat.math.ethz.ch
Tue Jun 30 18:30:52 CEST 1998


Btw,

all the pbinom() examples posted to S-news today
return the proper result in R

Martin
>>>>> "JS" == James Stapleton <stapleton at stt.msu.edu> writes
	to S-news :

    JS> More interesting behavior of pbinom:
    >> pbinom(3,2,.8)
    JS> [1] 1
    >> pbinom(30,2,.8)
    JS> [1] 0.9967653
    >> pbinom(40,2,.8)
    JS> [1] -4806.771
    >> pbinom(10,5,.4)
    JS> [1] 1
    >> pbinom(10,5,1)
    JS> [1] 0

    JS> =-=-=-=-=-=-=-=-=-=-=-=-=-= Jim Stapleton, Professor and Graduate
    JS> Director Department of Statistics and Probability Michigan State
    JS> University, East Lansing, MI 48824 Telephone: 517-355-9678 (Office)
    JS> 517-337-1148 (Home) 517-432-1405 (Fax)
    JS> http://www.stt.msu.edu http://www.stt.msu.edu/~stapleto/
    JS> -----------------------------------------------------------------------
    JS> This message was distributed by s-news at wubios.wustl.edu.  To
    JS> unsubscribe send e-mail to s-news-request at wubios.wustl.edu with the
    JS> BODY of the message: unsubscribe s-news

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help 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-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list