Description Usage Arguments Value Examples
View source: R/trigonometric_fit.R
trigonometric_fit
Returns fitted and predicted values of periodically repeating data using sine and cosine functions.
1 | trigonometric_fit(data_in, regression_formula)
|
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 |
A list of two things: the fitted values at a 95
1 | # To be filled in later
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.