baseline_lambda() controls the smoothness penalty in ALS baseline correction.
baseline_asymmetry() controls the asymmetry parameter in ALS.
baseline_degree() controls the polynomial degree for baseline fitting.
Arguments
- range
A two-element vector holding the defaults for the smallest and largest possible values, respectively. If a transformation is specified, these values should be in the transformed units.
- trans
A
transobject from thescalespackage, such asscales::transform_log10()orscales::transform_reciprocal(). If not provided, the default is used which matches the units used inrange. If no transformation,NULL.
Examples
baseline_lambda()
#> Baseline Smoothness (lambda) (quantitative)
#> Transformer: log-10 [1e-100, Inf]
#> Range (transformed scale): [2, 9]
baseline_asymmetry()
#> Baseline Asymmetry (p) (quantitative)
#> Range: [0.001, 0.1]
baseline_degree()
#> Baseline Polynomial Degree (quantitative)
#> Range: [1, 6]
baseline_span()
#> LOESS Span (quantitative)
#> Range: [0.1, 0.9]