View source: R/userPredictions.R
predict.RFEAT | R Documentation |
This function predicts the expected output by a RFEAT
object.
## S3 method for class 'RFEAT' predict(object, newdata, x, ...)
object |
A |
newdata |
|
x |
Inputs index. |
... |
further arguments passed to or from other methods. |
data.frame
with the original data and the predicted values.
simulated <- X2Y2.sim(N = 50, border = 0.2) RFEAT_model <- RFEAT(data = simulated, x = c(1, 2), y = c(3, 4)) predict(object = RFEAT_model, newdata = simulated, x = c(1, 2))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.