periodic_fit: Compute a baseline and periodic fit to data.

Description Usage Arguments Value Examples

View source: R/periodic_fit.R

Description

periodic_fit Returns fitted and predicted values of periodically repeating data.

Usage

1
periodic_fit(data_in, regression_formula)

Arguments

data_in

a data frame with three columns: date (a POSIX date), time (the decimal time) and the value

regression_formula

a formula for the regression that we are computing for the baseline fit

Value

A list of two things: the fitted values at a 95

Examples

1
# To be filled in later

jmzobitz/periodicFitting documentation built on July 25, 2021, 8:02 p.m.