| TParameter-class {distr} | R Documentation |
Class "TParameter"
Description
The parameter of a t distribution, used by Td-class
Objects from the Class
Objects can be created by calls of the form new("TParameter", df, ncp).
Usually an object of this class is not needed on its own, it is generated automatically when an object of the class
Td is instantiated.
Slots
dfObject of class
"numeric": the degrees of freedom of a T distributionncpObject of class
"numeric": the noncentrality parameter of a T distributionnameObject of class
"character": a name / comment for the parameters
Extends
Class "Parameter", directly.
Methods
- initialize
signature(.Object = "TParameter"): initialize method- df
signature(object = "TParameter"): returns the slotdfof the parameter of the distribution- df<-
signature(object = "TParameter"): modifies the slotdfof the parameter of the distribution- ncp
signature(object = "TParameter"): returns the slotncpof the parameter of the distribution- ncp<-
signature(object = "TParameter"): modifies the slotncpof 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("TParameter",df=1, ncp = 0)
df(W) # df of this distribution is 1.
df(W) <- 2 # df of this distribution is now 2.