Learn R Programming

algebraic.dist (version 0.9.1)

vcov.edist: Method for obtaining the variance-covariance matrix (or scalar)

Description

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

Usage

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

Value

The variance-covariance matrix of the edist object

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)

Examples

Run this code
# \donttest{
set.seed(1)
z <- normal(0, 1) * exponential(2)
vcov(z)
# }

Run the code above in your browser using DataLab