Learn R Programming

ada (version 2.0-5.1)

update.ada: Add more trees to an ada object

Description

ada.update updates the ada object to have additional trees given a new number of iterations.

Usage

# S3 method for ada
update(object, x, y, test.x, test.y = NULL, n.iter, ...)

Value

updated ada object.

Arguments

object

object generated by the function ada.

x

x training data

y

training response

test.x

x testing data (optional)

test.y

the true labeling for this testing data (optional)

n.iter

new number of iterations, must be provided and n.iter>iter

...

other arguments not used by this function.

See Also

ada.default,summary.ada,predict.ada, plot.ada,pairs.ada