do.subset.distribution: Internal function for subclasses to get a distribution that...

do.subset.distributionR Documentation

Internal function for subclasses to get a distribution that describes a subset of the variables in a given distribution

Description

This function is provided to be overriden by developers. End users should instead call subset.distribution

Usage

do.subset.distribution(dist, keep.indices)

Arguments

dist

An object of class Distribution or a subclass

keep.indices

The numeric indices of which variables of the distribution (in the order they appear in var.names) to keep (this will be a subset of 1:dist@n.var)

Details

Not implemented by default The wrapper subset.distribution takes care of matching variables to their numeric indices. This function is only called by the wrapper if a proper subset (ie, not all the variables) is desired


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