dgrglm.predict: Binary or probabilities prediction

Description Usage Arguments Value Examples

View source: R/dgrglm.predict.R

Description

Binary or probabilities prediction

Usage

1
dgrglm.predict(model, new_data, type_pred = "CLASS", centering = FALSE)

Arguments

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

Value

an instance containing the binary or probability prediction.

Examples

1
2
3
4
## Not run: 
 predict(model, new_data, type_pred, centering)

## End(Not run)

Beuleup93/dgrGlm documentation built on Dec. 17, 2021, 10:50 a.m.