Skip to contents

Derived class for an exponentially-distributed random variable with interval truncation.

Super classes

R6.class.class -> distribution.abstract.class -> distribution.truncated.class -> distribution.truncated.exponential.class

Active bindings

mean

The mean of an exponential distribution with rate $params$rate truncated to [$t0, $t1].

sd

The standard deviation of an exponential distribution with rate $params$rate truncated to [$t0, $t1].

var

The variance of an exponential distribution with rate $params$rate truncated to [$t0, $t1].

interfaces

The list of available class interfaces

Methods

Inherited methods


distribution.truncated.exponential.class$new()

Create a new object of class distribution.truncated.exponential.class

Usage

distribution.truncated.exponential.class$new(rate = 1, t0 = 0, t1 = Inf)

Arguments

rate

The rate of the exponential distribution

t0

Lower bound for truncation

t1

Upper bound for truncation


distribution.truncated.exponential.class$clone()

The objects of this class are cloneable with this method.

Usage

distribution.truncated.exponential.class$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.