edist
R/edist.R
mean.edist.Rd
Method for obtaining the mean of an edist object.
# S3 method for class 'edist' mean(x, n = 10000, ...)
The edist object to retrieve the mean from
The number of samples to take (default: 10000)
Additional arguments to pass (not used)
The mean of the edist object
# \donttest{ set.seed(1) z <- normal(0, 1) * exponential(2) mean(z) #> [1] 0.002089878 # }