LambdaSequence: Sequence of penalty parameters

View source: R/lambda_grid.R

LambdaSequenceR Documentation

Sequence of penalty parameters

Description

Generates a sequence of penalty parameters from extreme values and the required number of elements. The sequence is defined on the log-scale.

Usage

LambdaSequence(lmax, lmin, cardinal = 100)

Arguments

lmax

maximum value in the grid.

lmin

minimum value in the grid.

cardinal

number of values in the grid.

Value

A vector with values between "lmin" and "lmax" and as many values as indicated by "cardinal".

See Also

Other lambda grid functions: LambdaGridGraphical(), LambdaGridRegression()

Examples

# Grid from extreme values
mygrid <- LambdaSequence(lmax = 0.7, lmin = 0.001, cardinal = 10)

sharp documentation built on April 11, 2025, 5:44 p.m.