GeomParameter-class

0th

Percentile

Class "GeomParameter"

The parameter of a geometric distribution, used by Geom-class

Objects from the Class

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

Extends

Class "Parameter", directly.

See Also

Geom-class Parameter-class

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

Community examples

Looks like there are no examples yet.