Description Usage Arguments Value
View source: R/OnlineSuperLearner.S3.R
S3 prediction function for the online superlearner package. Can be used to perform a sampling procedure on the fitted OSL method.
1 2 3 |
object |
OnlineSuperLearner trained instance of an online superlearner class. |
newdata |
the new data to perform the prediction with. Note that this
can be a data.frame, after which we will generate blocks based on the
measurements in the data, or a |
Y |
the dependent variables for which we want to predict the outcome. The parameter is allowed to take several forms: - List of |
nobs |
the number of observations to sample |
... |
other parameters directly passed to the predict function |
list
a list of estimator entries, each of which has a
data.table
of corresponding sampled values.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.