bfa_scatterplot {bifurcatingr}R Documentation

Scatterplots for Bifurcating Autoregressive Data

Description

Draw scatterplots between observations at time t and the lagged observations from the given bifurcating autoregressive tree data.

Usage

bfa_scatterplot(z, p, ...)

Arguments

z

a numeric vector containing the tree data

p

an integer determining the order of the bifurcating autoregressive model that is believed to best fit the data

...

other graphical parameters that can be passed to plot() or pairs() (see par and pairs)

Value

A single scatterplot when p=1 or a matrix of scatterplots when p>1.

Examples

z <- bfa_tree_gen(63, 1, 1, 2, 0.5, 0.5, 0.2, 10, c(0.7))
bfa_scatterplot(z,1)
z<-bfa_tree_gen(63, 2, 1, 2, 0.5, 0.5, 0.2, 10, c(0.7,0.2))
bfa_scatterplot(z,2)
bfa_scatterplot(z,2,lower.panel=NULL)

[Package bifurcatingr version 2.1.0 Index]