View source: R/01_tree_structure.R
Btree | R Documentation |
The Dirichlet Multinational Tree model requires the
outcomes at each interior knots. We need to change a list of coefficients
into high dimensional matrix format corresponding to each matrix in Ytree
outcomes.
The length for Btree
outcomes is the same as Ytree
; TBF
Btree(Ytree, B)
Ytree |
The results from |
B |
a list of covariate coefficients |
This is adapted from Tao Wang and Hongyu Zhao (2017)
A set of n * 2 matrices, each of which represent the covariate coefficients at the an interior knot and its children branches.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.