init_lambda: Initial lambda value of Whittaker smoother

Description Usage Arguments Examples

Description

This function is only suitable for 16-day EVI time-series.

Usage

1
init_lambda(y, param = NULL)

Arguments

y

Numeric vector

param

linear Regression coefficients of lambda simulating Equation.

Examples

1
2
3
4
5
6
7
8
9
library(phenofit)
data("MOD13A1")

dt <- tidy_MOD13.gee(MOD13A1$dt)
st <- MOD13A1$st

sitename <- dt$site[1]
d      <- dt[site == sitename, ] # get the first site data
lambda <- init_lambda(d$y)

kongdd/whittaker documentation built on June 4, 2019, 7:49 a.m.