opt_func: Optimise Sinus Fit Function

Description Usage Arguments Value

View source: R/optimise_sinus.R

Description

Optimise Sinus Fit Function

Usage

1
opt_func(period, df, opt_criteria = "RMSE", debug = TRUE)

Arguments

period

period length

df

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

opt_criteria

(default: "RMSE"), for other options check: ?hydroGOF::gof

debug

show debug messages (default: TRUE)

Value

scalar with optimisation result


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