metric_R2: coefficient of determination R2

Description Usage Arguments Value Author(s) Examples

View source: R/metric_R2.R

Description

This function measures the performance of the model in terms of recognition rate.

Usage

1
metric_R2(y, ypred)

Arguments

y

the true y

ypred

the predict y

Value

accuracy or recognition rate

Author(s)

"Saliou NDAO salioundao21@gmail.com"

Examples

1
2
3
4
## Not run: 
   metric_R2(y, ypred)

## End(Not run)

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