Learn R Programming

phenofit (version 0.2.5-2)

init_lambda: Initial lambda value of Whittaker smoother

Description

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

Usage

init_lambda(y)

Arguments

y

Numeric vector

Examples

Run this code
# NOT RUN {
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)
# }

Run the code above in your browser using DataLab