dev_function: Elastic net deviance value

View source: R/glmnetFlex.R

dev_functionR Documentation

Elastic net deviance value

Description

Returns the elastic net deviance value.

Usage

dev_function(y, mu, weights, family)

Arguments

y

Quantitative response variable.

mu

Model's predictions for y.

weights

Observation weights.

family

A description of the error distribution and link function to be used in the model. This is the result of a call to a family function.


glmnet documentation built on Aug. 22, 2023, 9:12 a.m.