View source: R/fn_WeatherFit.R
Likelihood for seasonality parameters fitting to temperature data
1 2 | likelihood_fn(amp, mid, time.vals = time.vals, beta = beta,
data = data)
|
amp |
amplitude of seasonal wave. Defaults to 0 |
mid |
midpoint of seasonal wave. Defaults to -0.048 to fix at Feb |
time.vals |
Time series over which to fit sin curve to data |
beta |
Average value from data to act as midpoint of sincurve |
data |
Data values |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.