Find the best parameter delta for fitting clear sky radiation.
clearsky_delta(x, Ct, lower = 0, upper = 3, by = 0.01, ntol = 0)Numeric vector, time series of solar radiation.
Numeric vector, time series of clear sky radiation.
Numeric scalar, lower bound for grid of delta parameters used for optimization. Default is 0.
Numeric scalar, upper bound for grid of delta parameters used for optimization. Default is 3.
Numeric scalar, step for the grid. Default is 0.01.
Integer scalar, Tolerance for the maximum number of violations admitted of the condition Ct > x. The default is 0.
Detect the best parameter delta such that the condition x > delta * Ct is satisfied for all the observations except for ntol observations.
Version 1.0.1