do.get.covariance.matrix: Internal function for subclasses to get the...

do.get.covariance.matrixR Documentation

Internal function for subclasses to get the variance-covariance matrix for variables in a distribution

Description

This function is provided to be overriden by developers. End users should instead call get.covariance.matrix

Usage

do.get.covariance.matrix(dist, n.sim)

Arguments

dist

An object of class Distribution or a subclass

n.sim

If the values are to be calculated by random sample generation, how many random samples to generate

Details

The default implementation generates random samples and takes the sample covariance. The wrapper get.covariance.matrix takes care of formatting the return value and generating warnings for any improper variables


tfojo1/distributions documentation built on July 27, 2024, 3:29 p.m.