[Dplr-commits] r742 - pkg/dplR/R
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Wed Mar 26 17:11:30 CET 2014
Author: andybunn
Date: 2014-03-26 17:11:30 +0100 (Wed, 26 Mar 2014)
New Revision: 742
Modified:
pkg/dplR/R/rwi.stats.running.R
Log:
added ref to SNR calc
Modified: pkg/dplR/R/rwi.stats.running.R
===================================================================
--- pkg/dplR/R/rwi.stats.running.R 2014-03-26 16:10:00 UTC (rev 741)
+++ pkg/dplR/R/rwi.stats.running.R 2014-03-26 16:11:30 UTC (rev 742)
@@ -319,7 +319,8 @@
## EPS is on page 146 of C&K.
## In our interpretation of EPS, we use the average number of trees.
eps <- n * rbar.eff / ((n - 1) * rbar.eff + 1)
- ## SNR is on page 109 of Hughes et al. 2011
+ ## SNR is on page 109 of Cook and Pederson (2011).
+ ## See help file for ref.
snr <- n * rbar.eff / (1-rbar.eff)
if (running.window) {
More information about the Dplr-commits
mailing list