Learn R Programming

distr (version 2.9.5)

ChisqParameter-class: Class "ChisqParameter"

Description

The parameter of a chi-squared distribution, used by Chisq-class

Arguments

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 distribution

df

Object of class "numeric": the df of a chi-squared distribution

name

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 slot df of the parameter of the distribution

df<-

signature(object = "ChisqParameter"): modifies the slot df of the parameter of the distribution

ncp

signature(object = "ChisqParameter"): returns the slot ncp of the parameter of the distribution

ncp<-

signature(object = "ChisqParameter"): modifies the slot ncp of the parameter of the distribution

Author

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

Chisq-class Parameter-class

Examples

Run this code
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.

Run the code above in your browser using DataLab