predict.scope.logistic: Computes SCOPE logistic predictions

Description Usage Arguments Value See Also

View source: R/predict.scope.logistic.R

Description

Computes SCOPE logistic predictions on new data

Usage

1
2
## S3 method for class 'scope.logistic'
predict(object, newdata, probs = TRUE, include_intercept = TRUE, ...)

Arguments

object

SCOPE model as outputted by scope.logistic. 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

probs

If TRUE returns probabilities, if FALSE returns binary predictions

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

Value

Returns n-length vector of predictions

See Also

scope.logistic


CatReg documentation built on June 14, 2021, 5:07 p.m.