DPTreePrior: Generating the standard D-P Tree prior

Description Usage Arguments Value References Examples

View source: R/DPtree.R

Description

DPTreePrior returns a standard D-P Tree prior based on specified hyperparameters.

Usage

1
DPTreePrior(m = 4, z = 1)

Arguments

m

A positive integer. The finite approximation level for D-P tree. Default m=4.

z

A positive number. On i-th level, the hyperparameter for D-P tree prior is z\times i^2. Default z=1.

Value

A list.

a

An array containing the hyperparameters of D-P trees.

References

\insertRef

DPtreeDPtree

Examples

1
DPTreePrior(m=6, z=1)

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

Related to DPTreePrior in DPtree...