Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

SDistribution

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


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

The Complete R6 Probability Distributions Interface

v1.5.2
MIT + file LICENSE
Authors
Raphael Sonabend [aut, cre] (<https://orcid.org/0000-0001-9225-4654>), Franz Kiraly [aut], Peter Ruckdeschel [ctb] (Author of distr), Matthias Kohl [ctb] (Author of distr), Nurul Ain Toha [ctb], Shen Chen [ctb], Jordan Deenichin [ctb], Chengyang Gao [ctb], Chloe Zhaoyuan Gu [ctb], Yunjie He [ctb], Xiaowen Huang [ctb], Shuhan Liu [ctb], Runlong Yu [ctb], Chijing Zeng [ctb], Qian Zhou [ctb]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.