SDistribution: Abstract Special Distribution Class

SDistributionR Documentation

Abstract Special Distribution Class

Description

Abstract class that cannot be constructed directly.

Value

Returns error. Abstract classes cannot be constructed directly.

Super class

distr6::Distribution -> SDistribution

Public fields

package

Deprecated, use $packages instead.

packages

Packages required to be installed in order to construct the distribution.

Methods

Public methods

Inherited methods

Method new()

Creates a new instance of this R6 class.

Usage
SDistribution$new(
  decorators,
  support,
  type,
  symmetry = c("asymmetric", "symmetric")
)
Arguments
decorators

(character())
Decorators to add to the distribution during construction.

support

[set6::Set]
Support of the distribution.

type

[set6::Set]
Type of the distribution.

symmetry

character(1)
Distribution symmetry type, default "asymmetric".


Method clone()

The objects of this class are cloneable with this method.

Usage
SDistribution$clone(deep = FALSE)
Arguments
deep

Whether to make a deep clone.


distr6 documentation built on March 28, 2022, 1:05 a.m.