joint_fit_process: Compute a baseline and periodic fit to data.

Description Usage Arguments Value Examples

View source: R/joint_fit_process.R

Description

joint_fit_process Is an overarching analysis function that does a lot of heavy lifting:

Returns a list of fitted and predicted values of periodically repeating data. This works over a list of data sites efficiently processing multiple locations

Usage

1
joint_fit_process(data, model_stats_filename)

Arguments

data

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

model_stats_filename

where you want the model stats file to be stored

Value

A data frame of fitted values than we can use for plotting

Examples

1
# This really is an overarching function that does the master fitting, since we are doing a lot of things repeatedly this seemed to be the easiest to avoid errors!

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