nodePlot {splinetree}R Documentation

Plots the trajectories of each terminal node side by side.

Description

Corresponds to plotting only the second panel of stPlot(). If model$intercept==FALSE, estimated intercepts are added to each trajectory so that the trajectories are plotted at the level of reasonable response values.

Usage

nodePlot(model, colors = NULL)

Arguments

model

A model returned from splineTree()

colors

A list of colors to use. By default, uses colors drawn from a rainbow.


[Package splinetree version 0.2.0 Index]