correlations_from_artificial: Compute Artificial correlations from daily data

Description Usage Arguments Value

View source: R/tea.R

Description

Correlation between ET and GPP is obscured by noise. The effect size depends on signal (flux) to noise (errors) ratio. This function bootstaps the correlation of two perfectly correlated signals with random noise added corresponding to errors in ET and NEE. and then gives the rank

Usage

1
correlations_from_artificial(dfs, nboot = 100)

Arguments

dfs

tibble with columns GPP, ET, GPP_sd, ET_sd, NEE_err, ET_err

nboot

number of bootstrap samples used

Value

data.frame by day with columns mean_GPP, mean_ET, corr_err (pearson correlation coefficient between errors of ET and NEE), corr_syn (vector of perason correlation coefficients between GPP and ET) dwci (rank of observed correlation within artificial correlations in %)


bgctw/etpart documentation built on Dec. 19, 2021, 8:49 a.m.