penalty: Compute the penalty of a model

penaltyR Documentation

Compute the penalty of a model

Description

Given a statistical model with regularization parameters, compute the penalty.

Usage

penalty(model)

## S4 method for signature 'ZinbModel'
penalty(model)

Arguments

model

an object that describes a statistical model with regularization parameters.

Value

The penalty of the model.

Methods (by class)

  • penalty(ZinbModel): return the penalization.

Examples

m <- zinbModel(K=2)
penalty(m)

drisso/zinbwave documentation built on March 18, 2024, 5:13 p.m.