Description Usage Arguments Value Examples
View source: R/dgrglm.predict.R
Binary or probabilities prediction
1 | dgrglm.predict(model, new_data, type_pred = "CLASS", centering = FALSE)
|
model |
the model created with fit function logistic regression |
new_data |
the new data to be classified |
type_pred |
the type of prediction to perform (binary prediction or probability prediction) by default 'CLASS' |
centering |
to center and reduce the variables, by default FALSE |
an instance containing the binary or probability prediction.
1 2 3 4 | ## Not run:
predict(model, new_data, type_pred, centering)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.