bfa_subtree {bifurcatingr} | R Documentation |
Subtree Extractor
Description
This function extracts subtree of size (2^p-1)
from the end of a given
bifurcating autoregressive tree (model) of order p.
Usage
bfa_subtree(n, p)
Arguments
n |
subtree size (integer) |
p |
an integer determining the order of bifurcating autoregressive model |
Value
A numeric vector representing a subtree of size (2^p-1)
from
the end of a given bifurcating autoregressive tree.
Examples
bfa_subtree(31, 1)
bfa_subtree(31, 2)
[Package bifurcatingr version 2.1.0 Index]