Learn R Programming

algebraic.dist (version 0.1.0)

marginal: Generic method for obtaining the marginal distribution of a distribution object x over components indices.

Description

Generic method for obtaining the marginal distribution of a distribution object x over components indices.

Usage

marginal(x, indices)

Arguments

x

The distribution object.

indices

The indices of the marginal distribution to obtain.