ccdc: Implementation of simple CCDC

Description Usage Arguments Value

View source: R/ccdc.R

Description

Implementation of a simple CCDC harmonic regression. See original article by Zhu et al. (2014) for details.

Usage

1
ccdc(doy, val, fit = NULL, period = NULL)

Arguments

doy

a list of julain day

val

values corresponding to doy.

fit

NULL or julian dates to be fit. This change return of the function.

period

A maximum julian day to limit fitting (optional). Use NULL to ignore.

Value

If fit = NULL, coefficients of CCDC implementation. Otherwise fitted values using coefficients.


dulvrq/ddl8s1ts documentation built on May 2, 2021, 5:18 a.m.