powered by
univariate_dist
Method for obtaining the variance of univariate_dist object.
# S3 method for univariate_dist vcov(object, ...)
Numeric scalar; the variance of the distribution.
The distribution object.
Additional arguments to pass into expectation.
expectation
vcov(normal(0, 4)) # 4 vcov(exponential(2)) # 0.25
Run the code above in your browser using DataLab