HyperParameter-class {distr} | R Documentation |
The parameter of a hypergeometric distribution, used by Hyper
-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.
k
:"numeric"
: k of a hypergeometric distribution m
:"numeric"
: m of a hypergeometric distribution n
:"numeric"
: n of a hypergeometric distribution name
:"character"
: a name / comment for the parameters
Class "Parameter"
, directly.
signature(.Object = "HyperParameter")
: initialize method signature(object = "HyperParameter")
: returns the slot k
of the parameter of the distribution signature(object = "HyperParameter")
: modifies the slot k
of the parameter of the distribution signature(object = "HyperParameter")
: returns the slot m
of the parameter of the distribution signature(object = "HyperParameter")
: modifies the slot m
of the parameter of the distribution signature(object = "HyperParameter")
: returns the slot n
of the parameter of the distribution signature(object = "HyperParameter")
: modifies the slot n
of the parameter of the distribution
Thomas Stabla statho3@web.de,
Florian Camphausen fcampi@gmx.de,
Peter Ruckdeschel Peter.Ruckdeschel@itwm.fraunhofer.de,
Matthias Kohl Matthias.Kohl@stamats.de
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.