[Returnanalytics-commits] r3703 - pkg/Dowd/R

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Mon Jun 22 16:09:11 CEST 2015


Author: dacharya
Date: 2015-06-22 16:09:11 +0200 (Mon, 22 Jun 2015)
New Revision: 3703

Modified:
   pkg/Dowd/R/ADTestStat.R
Log:
Condition on parameter "cl" corrected.

Modified: pkg/Dowd/R/ADTestStat.R
===================================================================
--- pkg/Dowd/R/ADTestStat.R	2015-06-22 14:06:36 UTC (rev 3702)
+++ pkg/Dowd/R/ADTestStat.R	2015-06-22 14:09:11 UTC (rev 3703)
@@ -33,7 +33,7 @@
   if (confidence.interval >= 1){
     stop("Confidence Interval should be less than 1.")
   }
-  if (confidence.interval <= 1){
+  if (confidence.interval <= 0){
     stop("Confidence Interval should be positive.")
   }
   



More information about the Returnanalytics-commits mailing list