penalty: Compute the penalty of a model

Description Usage Arguments Value Methods (by class) Examples

Description

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

Usage

1
2
3
4
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

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

zinbwave documentation built on Nov. 8, 2020, 8:11 p.m.