fakeFit: Covert a 'zoo' into a '{phenopix}' format

fakeFitR Documentation

Covert a zoo into a {phenopix} format

Description

Internal function to convert a zoo time series in the format returned by functions like phenopix::ElmoreFit() or phenopix::GuFit().

Usage

fakeFit(ts, uncert = NA, nrep = NA)

Arguments

ts

A ts or zoo object with gcc data. index (ts) must be numeric days of year (DOY) or a POSIXct vector

uncert

Unused (left for compatibility).

nrep

Unused (left for compatibility).

Value

A list containing the following items.

  • fit: A list as returned by the function FitDoubleLogElmore

  • uncertainty: A list containing a zoo data.frame with the uncertainty predicted values, and a dataframe containing the respective uncertainty curve parameters

Author(s)

Luigi Ranghetti, PhD (2020) luigi@ranghetti.info


ranghetti/sen2rts documentation built on March 31, 2024, 1:18 a.m.