subset.distribution: Get a distribution that describes a subset of the variables...

subset.distributionR Documentation

Get a distribution that describes a subset of the variables in a given distribution

Description

Get a distribution that describes a subset of the variables in a given distribution

Usage

subset.distribution(dist, vars.to.keep)

Arguments

dist

An object of class Distribution or a subclass

vars.to.keep

Either a character vector with the names of the variables to keep, an integer/numeric vector with the indices of the variables to keep, or a logical vector of length n.var indicating which variables to keep

Details

Note to developers: this function should not be overridden. Override do.subset.distribution instead

Value

An object of class Distribution-class


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