glsw_alpha: Relative GLSW Weighting Parameter

View source: R/recipe_steps.R

glsw_alphaR Documentation

Relative GLSW Weighting Parameter

Description

A dials parameter for the alpha argument of step_glsw() and step_y_gradient_glsw(), on a log10 scale.

Usage

glsw_alpha(range = c(-4, 0), trans = scales::transform_log10())

Arguments

range

A two-element vector with the range of alpha, in log10 units. Default is c(-4, 0), i.e. 0.0001 to 1.

trans

A transformation object from the scales package. Default is log10.

Value

A quant_param object.

Examples


glsw_alpha()
dials::value_seq(glsw_alpha(), 5)


specProc documentation built on Nov. 20, 2026, 5:11 p.m.