Produce lack-of-fit curve for a contrast tree
lofcurve(
tree,
x,
y,
z,
w = rep(1, length(y)),
doplot = "first",
col = "black",
ylim = NULL
)
a named list of plotted x
and y
points
model object output from contrast() or prune()
training input predictor data matrix or data frame in same format as in contrast()
vector, or matrix containing training data input outcome values or censoring intervals for each observation in same format as in contrast()
vector containing values of a second contrasting quantity for each observation in same observation format as in contrast ()
observation weights
logical flag. doplot="first" implies start new display. doplot="next" implies super impose plot on existing display. doplot="none" implies no plot displayed.
color of plotted curve
y-axis limit