R: Class '"NullDistribution"' and its subclasses

NullDistribution-class {coin} | R Documentation

## Class `"NullDistribution"` and its subclasses

### Description

Objects of class `"NullDistribution"` and its subclasses `"ApproxNullDistribution"`, `"AsymptNullDistribution"` and `"ExactNullDistribution"` represent the reference distribution.

### Objects from the Class

Objects can be created by calls of the form

         new("NullDistribution", \dots),

         new("ApproxNullDistribution", \dots),

         new("AsymptNullDistribution", \dots)

and

         new("ExactNullDistribution", \dots).

### Slots

For objects of classes `"NullDistribution"`, `"ApproxNullDistribution"`, `"AsymptNullDistribution"` or `"ExactNullDistribution"`:

`q`:

  Object of class `"function"`. The quantile function of the reference distribution.

`d`:

  Object of class `"function"`. The density function of the reference distribution.

`support`:

  Object of class `"function"`. The support of the reference distribution.

`parameters`:

  Object of class `"list"`. Additional parameters.

`pvalue`:

  Object of class `"function"`. The p-value function of the reference distribution.

`midpvalue`:

  Object of class `"function"`. The mid-p-value function of the reference distribution.

`pvalueinterval`:

  Object of class `"function"`. The p-value interval function of the reference distribution.

`p`:

  Object of class `"function"`. The distribution function of the reference distribution.

`name`:

  Object of class `"character"`. The name of the reference distribution.

Additionally, for objects of classes `"ApproxNullDistribution"` or `"AsymptNullDistribution"`:

`seed`:

  Object of class `"integer"`. The random number generator state (i.e., the value of `.Random.seed`).

### Extends

For objects of class `"NullDistribution"`:
Class `"PValue"`, directly.

For objects of classes `"ApproxNullDistribution"`, `"AsymptNullDistribution"` or `"ExactNullDistribution"`:
Class `"NullDistribution"`, directly.
Class `"PValue"`, by class `"NullDistribution"`, distance 2.

### Known Subclasses

For objects of class `"NullDistribution"`:
Class `"ApproxNullDistribution"`, directly.
Class `"AsymptNullDistribution"`, directly.
Class `"ExactNullDistribution"`, directly.

### Methods

dperm

  `signature(object = "NullDistribution")`: See the documentation for `dperm` for details.

dperm

  `signature(object = "AsymptNullDistribution")`: See the documentation for `dperm` for details.

midpvalue

  `signature(object = "NullDistribution")`: See the documentation for `midpvalue` for details.

pperm

  `signature(object = "NullDistribution")`: See the documentation for `pperm` for details.

pperm

  `signature(object = "AsymptNullDistribution")`: See the documentation for `pperm` for details.

pvalue

  `signature(object ="NullDistribution")`: See the documentation for `pvalue` for details.

pvalue_interval

  `signature(object ="NullDistribution")`: See the documentation for `pvalue_interval` for details.

qperm

  `signature(object = "NullDistribution")`: See the documentation for `qperm` for details.

qperm

  `signature(object = "AsymptNullDistribution")`: See the documentation for `qperm` for details.

rperm

  `signature(object = "NullDistribution")`: See the documentation for `rperm` for details.

support

  `signature(object = "NullDistribution")`: See the documentation for `support` for details.

[Package coin version 1.1-3 Index]