Plots the trajectories of each terminal node side by side.
Plots the trajectories of each terminal node side by side.
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.
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.