Learn R Programming

CatReg (version 2.0.4)

predict.scope: Computes SCOPE predictions

Description

Computes SCOPE predictions on new data.

Usage

# S3 method for scope
predict(object, newdata, include_intercept = TRUE, ...)

Value

Returns n-length vector of predictions

Arguments

object

SCOPE model as outputted by scope. Must have simply.the.best = TRUE

newdata

New covariates on which to make predictions. Must be of the same form as the model was trained on

include_intercept

If TRUE, a column of 1s will be added to the (continuous) design matrix. Must match format of training data.

...

Additional arguments to pass to other predict methods

See Also

scope