| HyperParameter-class {distr} | R Documentation |
Class "HyperParameter"
Description
The parameter of a hypergeometric distribution, used by Hyper-class
Objects from the Class
Objects can be created by calls of the form new("HyperParameter", k, m, n).
Usually an object of this class is not needed on its own, it is generated automatically when an object of the class Hyper
is instantiated.
Slots
kObject of class
"numeric": k of a hypergeometric distributionmObject of class
"numeric": m of a hypergeometric distributionnObject of class
"numeric": n of a hypergeometric distributionnameObject of class
"character": a name / comment for the parameters
Extends
Class "Parameter", directly.
Methods
- initialize
signature(.Object = "HyperParameter"): initialize method- k
signature(object = "HyperParameter"): returns the slotkof the parameter of the distribution- k<-
signature(object = "HyperParameter"): modifies the slotkof the parameter of the distribution- m
signature(object = "HyperParameter"): returns the slotmof the parameter of the distribution- m<-
signature(object = "HyperParameter"): modifies the slotmof the parameter of the distribution- n
signature(object = "HyperParameter"): returns the slotnof the parameter of the distribution- n<-
signature(object = "HyperParameter"): modifies the slotnof the parameter of the distribution
Author(s)
Thomas Stabla statho3@web.de,
Florian Camphausen fcampi@gmx.de,
Peter Ruckdeschel peter.ruckdeschel@uni-oldenburg.de,
Matthias Kohl Matthias.Kohl@stamats.de
See Also
Examples
W <- new("HyperParameter",k=3, m=3, n=3)
m(W) # m of this distribution is 3.
m(W) <- 2 # m of this distribution is now 2.