lrpTreePlot {longRPart}R Documentation

Standard rpart tree plot adapted to longitudinal data

Description

Using the standard rpart plotting function and subfunction rpartco, this function produces a tree plot with simple line plots at the nodes of the regression coefficients of a mixed effects model.

Usage

lrpTreePlot(model,use.n=TRUE,colors=NULL,place='bottomright')

Arguments

model Model produced by longRPart
use.n Boolean indicating whether to include the number of observations at a leaf node in the plot. If F, then the slope of the line is printed instead
colors The desired colors for each node.
place THe placement of the legend

Details

This function uses the standard plot and text commands from rpart and longRPart, but includes lineplots of the mixed-effects models calculated at each node.

Author(s)

Mohamed Abdolell <mo@dal.ca> and Sam Stewart

See Also

longRPart lrpPlot


[Package longRPart version 1.0 Index]