From 0b98c459c30a0629a728acf6b311de035c55fb64 Mon Sep 17 00:00:00 2001 From: Johannes Ranke Date: Wed, 18 Jul 2018 15:18:30 +0200 Subject: Correct references to the Rocke and Lorenzato model Rename 'sigma_rl' to 'sigma_twocomp' as the Rocke and Lorenzato model assumes lognormal distribution for large y. Rebuild static documentation. --- R/sigma_twocomp.R | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 R/sigma_twocomp.R (limited to 'R/sigma_twocomp.R') diff --git a/R/sigma_twocomp.R b/R/sigma_twocomp.R new file mode 100644 index 00000000..b06816c1 --- /dev/null +++ b/R/sigma_twocomp.R @@ -0,0 +1,3 @@ + sigma_twocomp <- function(y, sigma_low, rsd_high) { + sqrt(sigma_low^2 + y^2 * rsd_high^2) + } -- cgit v1.2.1