RealizeDPTree: Sampling a realized distribution from the D-P Tree.

Description Usage Arguments Value References Examples

View source: R/DPtree.R

Description

RealizeDPTree returns a realized (copula) distribtuion sampled from the input D-P Tree.

Usage

1

Arguments

prior

A list. Should be in same format as returned from DPTreePrior.

Value

An array of dimension 2^m by 2^m by m. m is the approximation level. Realized Z's for all partitions at each level. Three dimensions reprensent two marginals, and the level respectively.

References

\insertRef

DPtreeDPtree

Examples

1

DPtree documentation built on May 2, 2019, 2:10 p.m.

Related to RealizeDPTree in DPtree...