penalty {zinbwave}R 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)

Examples

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

[Package zinbwave version 1.2.0 Index]