Learn R Programming

updog (version 1.1.3)

ashpen_fun: Penalty on pivec used when model = "ash" in flexdog.

Description

Penalty on pivec used when model = "ash" in flexdog.

Usage

ashpen_fun(lambda, pivec)

Arguments

lambda

The penalty.

pivec

The vector of mixing proportions for the component discrete uniform distributions.

Value

A penalty on the ash mixing weights.