Description Usage Arguments Value
Calculates a daily correlation coefficient between two sub-daily timeseries
x
and y
considering only daytime, i.e. Rg > 0
.
Vectors x
, y
, and Rg
must have the same length.
Only complete cases, i.e. no NAs are considered.
1 | daily_corr(x, y, Rg_pot, nrecday = 48)
|
x |
numeric vector to correlate |
y |
numeric vector to correlate |
Rg_pot |
potential incoming radiation |
nrecday |
integer: frequency of the sub-daily measurements, 48 for half hourly measurements |
correlation coefficents at daily timescale
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.