| ChisqParameter-class {distr} | R Documentation |
The parameter of a chi-squared distribution, used by Chisq-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.
ncp:"numeric": the ncp of a chi-squared distribution df:"numeric": the df of a chi-squared distribution name:"character": a name / comment for the parameters
Class "Parameter", directly.
signature(.Object = "ChisqParameter"): initialize method signature(object = "ChisqParameter"): returns the slot df of the parameter of the distribution signature(object = "ChisqParameter"): modifies the slot df of the parameter of the distribution signature(object = "ChisqParameter"): returns the slot ncp of the parameter of the distribution signature(object = "ChisqParameter"): modifies the slot ncp of the parameter of the distribution
Thomas Stabla statho3@web.de,
Florian Camphausen fcampi@gmx.de,
Peter Ruckdeschel Peter.Ruckdeschel@uni-bayreuth.de,
Matthias Kohl Matthias.Kohl@stamats.de
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.