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

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.