msBP.rtree {msBP} | R Documentation |
Random msBP tree
Description
Draw a random tree from the msBP process
Usage
msBP.rtree(a, b, max.s = 10)
Arguments
a |
Scalar parameter |
b |
Scalar parameter |
max.s |
Maximum depth of the random trees |
Value
An object of the class msBPTree
References
Canale, A. and Dunson, D. B. (2016), "Multiscale Bernstein polynomials for densities", Statistica Sinica, 26(3), 1175-1195.
Canale, A. (2017), "msBP: An R Package to Perform Bayesian Nonparametric Inference Using Multiscale Bernstein Polynomials Mixtures". Journal of Statistical Software, 78(6), 1-19.
See Also
msBP.rsample
, msBP.compute.prob
Examples
msBP.rtree(2, 2, 4)
[Package msBP version 1.4-1 Index]