predict_rf: Runs model random forest object on new data

View source: R/predict_rf.R

predict_rfR Documentation

Runs model random forest object on new data

Description

Runs model random forest object on new data

Usage

predict_rf(newdata, obj_rf, correction = c(1, 0))

Arguments

obj_rf

random forest object

correction

whether to correct covariate shift, in which case two coefficients (alpha,beta) should be provided. Defaults to (1,0) i.e. no correction.

data

data with variables Q, rT_Q, S

Value

Wdata completed with column Ypred (log of hourly flux) and Npred (hourly flux)


lvaudor/woody documentation built on March 22, 2022, 9:53 a.m.