Cross-validate boosted contrast tree boosted with (new) data
xval(
mdl,
x,
y,
z,
num = length(mdl$tree),
del = 10,
span = 0.15,
ylab = "Average Discrepancy",
doplot = "first",
doprint = FALSE,
col = "red"
)
a named list of two items: ntree
the iteration numbers, and error
the corresponding discrepancy values
model output from modtrast()
data predictor variables is same format as input to modtrast
data y values is same format as input to modtrast
data z values is same format as input to modtrast
number of trees used to compute model values
plot discrepancy value computed every del-th iteration (tree)
running median smoother span (doplot=TRUE
, only)
graphical parameter (`doplot="first", only)
logical flag. doplot="first" implies start new display. doplot="next" implies super impose plot on existing display. doplot="none" implies no plot displayed.
logical flag TRUE/FALSE
implies do/don't print progress while executing, default FALSE
color of plotted curve
contrast()