lambda_vcurve: lambda_vcurve

View source: R/smooth_wWHIT_lambda.R

lambda_vcurveR Documentation

lambda_vcurve

Description

lambda_vcurve

Usage

lambda_vcurve(
  y,
  w,
  lg_lambdas = seq(0.1, 5, 0.1),
  plot = FALSE,
  verbose = FALSE,
  ...
)

Arguments

y

Numeric vector, vegetation index time-series

w

(optional) Numeric vector, weights of y. If not specified, weights of all NA values will be wmin, the others will be 1.0.

lg_lambdas

numeric vector, log10(lambda) candidates. The optimal lambda will be optimized from lg_lambda.

plot

logical. If TRUE, the optimized lambda will be printed on the console.

...

ignored.


phenofit documentation built on Nov. 10, 2022, 6:08 p.m.