newpenalty: 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
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

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

NewWave documentation built on Dec. 26, 2020, 6 p.m.