[Dplr-commits] r755 - in pkg/dplR: . R

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Tue Apr 1 11:39:58 CEST 2014


Author: mvkorpel
Date: 2014-04-01 11:39:58 +0200 (Tue, 01 Apr 2014)
New Revision: 755

Modified:
   pkg/dplR/DESCRIPTION
   pkg/dplR/R/redfit.R
Log:
redfitWinwgt(): Commented out an unused variable

Modified: pkg/dplR/DESCRIPTION
===================================================================
--- pkg/dplR/DESCRIPTION	2014-03-31 13:36:42 UTC (rev 754)
+++ pkg/dplR/DESCRIPTION	2014-04-01 09:39:58 UTC (rev 755)
@@ -3,7 +3,7 @@
 Type: Package
 Title: Dendrochronology Program Library in R
 Version: 1.6.0
-Date: 2014-03-27
+Date: 2014-04-01
 Authors at R: c(person("Andy", "Bunn", role = c("aut", "cph",
         "cre", "trl"), email = "andy.bunn at wwu.edu"), person("Mikko",
         "Korpela", role = c("aut", "trl")), person("Franco", "Biondi",

Modified: pkg/dplR/R/redfit.R
===================================================================
--- pkg/dplR/R/redfit.R	2014-03-31 13:36:42 UTC (rev 754)
+++ pkg/dplR/R/redfit.R	2014-04-01 09:39:58 UTC (rev 755)
@@ -1506,7 +1506,7 @@
 redfitWinwgt <- function(t, iwin) {
     nseg <- length(t)
     ## useful factor for various windows
-    fac1 <- nseg / 2 - 0.5
+    ## fac1 <- nseg / 2 - 0.5
     ## fac2 <- 1 / (fac1 + 1)
     tlen <- t[nseg] - t[1]
     tlenFull <- nseg * tlen / (nseg - 1)



More information about the Dplr-commits mailing list