predict_gbev {gbev} | R Documentation |
Returns value of fitted function at given points.
predict_gbev(object,newdata,latent=TRUE,firstTree=NULL,lastTree=NULL)
object |
A fitted object of type gbev.object . |
newdata |
A data frame from which predictions are made. |
latent |
If TRUE the value of the fitted function between the error-free
(but unobserved) covariates and the response is returned, if FALSE
nothing happens. |
firstTree |
Index of first tree from which predictions are computed. Defaults to 1. |
lastTree |
Index of last tree from which predictions are computed. Defaults to number of trees in fitting. |
pred
the predictions/function evaluations.