aboutsummaryrefslogtreecommitdiff
path: root/R/sigma_rl.R
diff options
context:
space:
mode:
Diffstat (limited to 'R/sigma_rl.R')
-rw-r--r--R/sigma_rl.R3
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)
+ }

Contact - Imprint