diff options
author | Johannes Ranke <jranke@uni-bremen.de> | 2018-01-19 16:01:47 +0100 |
---|---|---|
committer | Johannes Ranke <jranke@uni-bremen.de> | 2018-01-30 10:43:58 +0100 |
commit | a37ba8f8898e4629dfc9d2558fc19a180551de2d (patch) | |
tree | dcae8090ab31e2e21ebdcb8f8fe11ada521523cc /R/sigma_rl.R | |
parent | f18213520f20aba947093e53113c44b689e8b98d (diff) |
Reweighting with two-component error model
Static documentation except articles rebuilt by pkgdown
Diffstat (limited to 'R/sigma_rl.R')
-rw-r--r-- | R/sigma_rl.R | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/R/sigma_rl.R b/R/sigma_rl.R new file mode 100644 index 00000000..2b921d29 --- /dev/null +++ b/R/sigma_rl.R @@ -0,0 +1,3 @@ + sigma_rl <- function(y, sigma_low, rsd_high) { + sqrt(sigma_low^2 + y^2 * rsd_high^2) + } |