vcov.empirical_dist: Method for obtaining the variance of 'empirical_dist' object...

View source: R/empirical_dist.R

vcov.empirical_distR Documentation

Method for obtaining the variance of empirical_dist object x.

Description

Method for obtaining the variance of empirical_dist object x.

Usage

## S3 method for class 'empirical_dist'
vcov(object, ...)

Arguments

object

The empirical distribution object.

...

Additional arguments to pass (not used).

Value

The sample variance-covariance matrix.

Examples

ed <- empirical_dist(c(1, 2, 3, 4, 5))
vcov(ed) # sample variance

ed_mv <- empirical_dist(matrix(rnorm(20), ncol = 2))
vcov(ed_mv) # 2x2 covariance matrix

algebraic.dist documentation built on Feb. 27, 2026, 5:06 p.m.