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

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Mon Dec 22 22:46:38 CET 2014


Author: andybunn
Date: 2014-12-22 22:46:38 +0100 (Mon, 22 Dec 2014)
New Revision: 926

Modified:
   pkg/dplR/ChangeLog
   pkg/dplR/DESCRIPTION
   pkg/dplR/R/crn.plot.R
   pkg/dplR/R/wavelet.plot.R
Log:
Several minor changes to crn.plot and wavelet.plot. The Description field in DESCRIPTION has been updated as well.

Modified: pkg/dplR/ChangeLog
===================================================================
--- pkg/dplR/ChangeLog	2014-12-20 09:24:30 UTC (rev 925)
+++ pkg/dplR/ChangeLog	2014-12-22 21:46:38 UTC (rev 926)
@@ -1,5 +1,29 @@
 * CHANGES IN dplR VERSION 1.6.1
 
+
+File: glk.R and glk.Rd
+-------------
+- Modified by Christian Zang in reponse to a bug report by Allan Buras. In the
+  case of  no change from year i to year i+1 in both series then the glk sign
+  will for both be 0 and the sum of both is then also 0 and will not be 
+  accounted for correctly in the sum of synchronous years. Zang and Buras have
+  pached and Zang updates the help file to reflect the change as:
+  "This implementation improves the original formulation inasmuch as the case 
+  of neighbouring identical measurements in the same years is accounted for. 
+  Here, it is treated as full agreement, in contrast to only partial agreement 
+  in the original formulation.""
+
+File: crn.plot.R
+-------------
+
+- Removed automatic plotting of chronology name in main title.
+
+
+File: plot.wavelet.R
+-------------
+
+- Fixed small bug in ylim for the chronology in the plot.
+
 File: NAMESPACE
 ---------------
 

Modified: pkg/dplR/DESCRIPTION
===================================================================
--- pkg/dplR/DESCRIPTION	2014-12-20 09:24:30 UTC (rev 925)
+++ pkg/dplR/DESCRIPTION	2014-12-22 21:46:38 UTC (rev 926)
@@ -24,7 +24,9 @@
 Suggests: Biobase, dichromat (>= 1.2-3), foreach, forecast, iterators,
         knitr, RColorBrewer, RUnit (>= 0.4.25), tikzDevice, waveslim
 Description: This package contains functions for performing tree-ring
-        analyses, IO, and graphics.
+        analyses such as detrending, chronology building, and cross dating.
+        The package reads and writes standard file formats used in 
+        dendrochronology
 LazyData: no
 License: GPL (>= 2)
 URL: http://huxley.wwu.edu/trl/htrl-dplr,

Modified: pkg/dplR/R/crn.plot.R
===================================================================
--- pkg/dplR/R/crn.plot.R	2014-12-20 09:24:30 UTC (rev 925)
+++ pkg/dplR/R/crn.plot.R	2014-12-22 21:46:38 UTC (rev 926)
@@ -33,8 +33,7 @@
   nyrs2 <- nyrs
   for(i in seq_len(nCrn)){
     spl <- crn[[i]]
-    plot(yr.vec, spl, type="n",axes=FALSE,
-         main=crn.names[i],...)
+    plot(yr.vec, spl, type="n",axes=FALSE,...)
     if(sd.exist) {
       par(new=TRUE)
       plot(yr.vec, samp.depth, type="n",

Modified: pkg/dplR/R/wavelet.plot.R
===================================================================
--- pkg/dplR/R/wavelet.plot.R	2014-12-20 09:24:30 UTC (rev 925)
+++ pkg/dplR/R/wavelet.plot.R	2014-12-22 21:46:38 UTC (rev 926)
@@ -7,7 +7,8 @@
              key.lab = parse(text = paste0("\"", gettext("Power"), "\"^2")),
              add.spline = FALSE, f = 0.5, nyrs = NULL,
              crn.col = "black", crn.lwd = 1,coi.col='black',
-             crn.ylim = range(wave.list$y)*1.1, side.by.side = FALSE,
+             crn.ylim = c(min(wave.list$y)*0.95,max(wave.list$y)*1.05), 
+             side.by.side = FALSE,
              useRaster = FALSE, res = 150, reverse.y = FALSE)
 {
 



More information about the Dplr-commits mailing list