powered by
Predict future subjects with a fitted RLT model
# S3 method for RLT predict(object, testx, ...)
The predicted values. For survival model, it returns the fitted survival functions
A fitted RLT object
Testing data
...
x = matrix(rnorm(100), ncol = 10) y = rowMeans(x) fit = RLT(x, y, ntrees = 5) predict(fit, x)
Run the code above in your browser using DataLab