powered by
This function extracts subtree of size \((2^p-1)\) from the end of a given bifurcating autoregressive tree (model) of order p.
bfa_subtree(n, p)
A numeric vector representing a subtree of size \((2^p-1)\) from the end of a given bifurcating autoregressive tree.
subtree size (integer)
an integer determining the order of bifurcating autoregressive model
bfa_subtree(31, 1) bfa_subtree(31, 2)
Run the code above in your browser using DataLab