Method for obtaining the variance-covariance matrix (or scalar)

# S3 method for class 'edist'
vcov(object, n = 10000, ...)

Arguments

object

The edist object to retrieve the variance-covariance matrix from

n

The number of samples to take (default: 10000)

...

Additional arguments to pass (not used)

Value

The variance-covariance matrix of the edist object

Examples

# \donttest{
set.seed(1)
z <- normal(0, 1) * exponential(2)
vcov(z)
#> [1] 0.5027949
# }