binary_predict: Binary prediction

Description Usage Arguments Value Author(s) Examples

View source: R/binary_predict.R

Description

This function performs binary predictions (0 or 1) based on the probabilities of assignments.

Usage

1

Arguments

PI

is the vector containing the probabilities of assignment to the positive or negative class.

Value

a vector containing the predictions in binary form

Author(s)

"Saliou NDAO salioundao21@gmail.com"

Examples

1
2
3
4
## Not run: 
   binary_predict(PI)

## End(Not run)

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