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 1.0.0 Index]