The abstract parent class to wrappers.
Returns error. Abstract classes cannot be constructed directly.
Accessor Methods | Link |
wrappedModels(model = NULL) |
wrappedModels |
decorators |
decorators |
traits |
traits |
valueSupport |
valueSupport |
variateForm |
variateForm |
type |
type |
properties |
properties |
support |
support |
symmetry |
symmetry |
sup |
sup |
inf |
inf |
dmax |
dmax |
dmin |
dmin |
skewnessType |
skewnessType |
kurtosisType |
kurtosisType |
d/p/q/r Methods | Link |
pdf(x1, ..., log = FALSE, simplify = TRUE) |
pdf |
cdf(x1, ..., lower.tail = TRUE, log.p = FALSE, simplify = TRUE) |
cdf |
quantile(p, ..., lower.tail = TRUE, log.p = FALSE, simplify = TRUE) |
quantile.Distribution |
rand(n, simplify = TRUE) |
rand |
Statistical Methods | Link |
prec() |
prec |
stdev() |
stdev |
median() |
median.Distribution |
iqr() |
iqr |
cor() |
cor |
Parameter Methods | Link |
parameters(id) |
parameters |
getParameterValue(id, error = "warn") |
getParameterValue |
setParameterValue(..., lst = NULL, error = "warn") |
setParameterValue |
Validation Methods | Link |
liesInSupport(x, all = TRUE, bound = FALSE) |
liesInSupport |
liesInType(x, all = TRUE, bound = FALSE) |
liesInType |
Representation Methods | Link |
strprint(n = 2) |
strprint |
print(n = 2) |
print |
summary(full = T) |
summary.Distribution |
Active Binding | Link |
isPdf |
isPdf |
isCdf |
isCdf |
isQuantile |
isQuantile |
isRand |
isRand |
Variable | Return |
name |
Name of distribution. |
short_name |
Id of distribution. |
description |
Brief description of distribution. |
Wrappers in distr6 use the composite pattern (Gamma et al. 1994), so that a wrapped distribution has the same methods and fields as an unwrapped one. After wrapping, the parameters of a distribution are prefixed with the distribution name to ensure uniqueness of parameter IDs.
Abstract classes cannot be implemented directly. Use the listWrappers
function to see constructable wrappers.