An R6 class representing a model variable whose uncertainty is described by a Beta distribution.
Andrew J. Sims andrew.sims@newcastle.ac.uk
rdecision::ModVar -> BetaModVar
Inherited methods
new()Create an object of class BetaModVar.
BetaModVar$new(description, units, alpha, beta)descriptionA character string describing the variable.
unitsUnits of the variable, as character string.
alphaparameter of the Beta distribution.
betaparameter of the Beta distribution.
An object of class BetaModVar.
is_probabilistic()Tests whether the model variable is probabilistic, i.e. a random variable that follows a distribution, or an expression involving random variables, some of which follow distributions.
BetaModVar$is_probabilistic()TRUE if probabilistic
clone()The objects of this class are cloneable with this method.
BetaModVar$clone(deep = FALSE)deepWhether to make a deep clone.
A model variable for which the uncertainty in the point estimate can
be modelled with a Beta distribution. The hyperparameters of the
distribution are the shape parameters (alpha and beta) of
the uncertainty distribution. Inherits from class ModVar.