NbinomParameter-class

0th

Percentile

Class "NbinomParameter"

The parameter of a negative binomial distribution, used by Nbinom-class

Objects from the Class

Objects can be created by calls of the form new("NbinomParameter", prob, size). Usually an object of this class is not needed on its own, it is generated automatically when an object of the class Nbinom is prepared.

Extends

Class "Parameter", directly.

See Also

Nbinom-class Parameter-class

Aliases
  • NbinomParameter-class
  • initialize,NbinomParameter-method
Examples
W=new("NbinomParameter",prob=0.5,size=1)
size(W) # size of this distribution is 1.
size(W)=2 # size of this distribution is now 2.
Documentation reproduced from package distr, version 1.8, License: GPL (version 2 or later)

Community examples

Looks like there are no examples yet.