metrics: Metrics Function

Description Usage Arguments Value Examples

View source: R/metrics.r

Description

Metrics Function

Usage

1
metrics(pi, y, p)

Arguments

pi

linear combination of predictor variables

y

target variable to predict

p

number of model parameters

Value

an S3 instance containing the values for the AIC (Akaike information criterion), the null deviance and the residual deviance

Examples

1
2
3
4
## Not run: 
  metrics(pi,y,p)

## End(Not run)

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