ChisqParameter-class: Class "ChisqParameter"

Description Objects from the Class Slots Extends Methods Author(s) See Also Examples

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 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(s)

Thomas Stabla [email protected],
Florian Camphausen [email protected],
Peter Ruckdeschel [email protected],
Matthias Kohl [email protected]

See Also

Chisq-class Parameter-class

Examples

1
2
3
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.

distr documentation built on July 9, 2018, 3 a.m.