ChisqParameter-class {distr} | R Documentation |
Class "ChisqParameter"
Description
The parameter of a chi-squared distribution, used by Chisq-class
Objects from the Class
Objects can be created by calls of the form new("ChisqParameter", ncp, df)
.
Usually an object of this class is not needed on its own, it is generated automatically when an object of the class Chisq
is instantiated.
Slots
ncp
Object of class
"numeric"
: the ncp of a chi-squared distributiondf
Object of class
"numeric"
: the df of a chi-squared distributionname
Object of class
"character"
: a name / comment for the parameters
Extends
Class "Parameter"
, directly.
Methods
- initialize
signature(.Object = "ChisqParameter")
: initialize method- df
signature(object = "ChisqParameter")
: returns the slotdf
of the parameter of the distribution- df<-
signature(object = "ChisqParameter")
: modifies the slotdf
of the parameter of the distribution- ncp
signature(object = "ChisqParameter")
: returns the slotncp
of the parameter of the distribution- ncp<-
signature(object = "ChisqParameter")
: modifies the slotncp
of 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("ChisqParameter",df=1,ncp=1)
ncp(W) # ncp of this distribution is 1.
ncp(W) <- 2 # ncp of this distribution is now 2.