ChisqParameter-class

0th

Percentile

Class "ChisqParameter"

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

Keywords
distribution
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

See Also

Chisq-class Parameter-class

Aliases
  • ChisqParameter-class
  • initialize,ChisqParameter-method
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.
Documentation reproduced from package distr, version 2.6, License: LGPL-3

Community examples

Looks like there are no examples yet.