newpenalty {NewWave}R Documentation

Compute the penalty of a model

Description

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

Usage

newpenalty(model)

## S4 method for signature 'newmodel'
newpenalty(model)

Arguments

model

an object that describes a statistical model with regularization parameters.

Value

The penalty of the model.

Methods (by class)

Examples

m <- newmodel(K=2)
newpenalty(m)

[Package NewWave version 1.0.2 Index]