optimise_sinus_fixedPeriod: Optimise Sinus Fit for Fixed Period

Description Usage Arguments Value References

View source: R/optimise_sinus.R

Description

Optimise Sinus Fit for Fixed Period

Usage

1
optimise_sinus_fixedPeriod(df, period_length = 365.25)

Arguments

df

data frame with temperature data and columns "date" (YYYY-MM-DD) and "value"

period_length

period length (default: 365.25)

Value

list with fit parameters ("paras"), goodness-of-fit values ("gof"), special points, i.e. min/max/turning-points ("points), fit model ("lm_model") and input data ("data")

References

https://stats.stackexchange.com/questions/77543/how-do-i-get-the-amplitude-and-phase-for-sine-wave-from-lm-summary


KWB-R/kwb.heatsine documentation built on Oct. 22, 2020, 12:37 a.m.