update.ada {ada}R Documentation

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 class 'ada'
update(object, x, y, test.x, test.y = NULL, n.iter, ...)

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.

Value

updated ada object.

See Also

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


[Package ada version 2.0-5 Index]