[Vegan-commits] r976 - in pkg/vegan: . R inst

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Tue Sep 1 20:13:33 CEST 2009


Author: jarioksa
Date: 2009-09-01 20:13:33 +0200 (Tue, 01 Sep 2009)
New Revision: 976

Modified:
   pkg/vegan/DESCRIPTION
   pkg/vegan/R/plot.cca.R
   pkg/vegan/inst/ChangeLog
Log:
plot.cca works with na.action = na.exclude

Modified: pkg/vegan/DESCRIPTION
===================================================================
--- pkg/vegan/DESCRIPTION	2009-09-01 15:50:53 UTC (rev 975)
+++ pkg/vegan/DESCRIPTION	2009-09-01 18:13:33 UTC (rev 976)
@@ -1,7 +1,7 @@
 Package: vegan
 Title: Community Ecology Package
-Version: 1.16-26
-Date: August 31, 2009
+Version: 1.16-27
+Date: September 1, 2009
 Author: Jari Oksanen, Roeland Kindt, Pierre Legendre, Bob O'Hara, Gavin L. Simpson, 
    Peter Solymos, M. Henry H. Stevens, Helene Wagner  
 Maintainer: Jari Oksanen <jari.oksanen at oulu.fi>

Modified: pkg/vegan/R/plot.cca.R
===================================================================
--- pkg/vegan/R/plot.cca.R	2009-09-01 15:50:53 UTC (rev 975)
+++ pkg/vegan/R/plot.cca.R	2009-09-01 18:13:33 UTC (rev 976)
@@ -32,11 +32,11 @@
     }
     else type <- match.arg(type, TYPES)
     if (missing(xlim))
-        xlim <- range(g$spe[, 1], g$sit[, 1], g$con[, 1], g$default[, 
-                                                                    1])
+        xlim <- range(g$spe[, 1], g$sit[, 1], g$con[, 1], g$default[,1],
+                      na.rm = TRUE)
     if (missing(ylim))
-        ylim <- range(g$spe[, 2], g$sit[, 2], g$con[, 2], g$default[, 
-                                                                    2])
+        ylim <- range(g$spe[, 2], g$sit[, 2], g$con[, 2], g$default[,2],
+                      na.rm = TRUE)
     plot(g[[1]], xlim = xlim, ylim = ylim, type = "n", asp = 1, 
          ...)
     abline(h = 0, lty = 3)

Modified: pkg/vegan/inst/ChangeLog
===================================================================
--- pkg/vegan/inst/ChangeLog	2009-09-01 15:50:53 UTC (rev 975)
+++ pkg/vegan/inst/ChangeLog	2009-09-01 18:13:33 UTC (rev 976)
@@ -2,8 +2,12 @@
 
 VEGAN DEVEL VERSIONS at http://r-forge.r-project.org/
 
-Version 1.16-26 (opened August 31,2009)
+Version 1.16-27 (opened September 1, 2009)
 
+	* plot.cca: works with na.action = na.exclude.
+	
+Version 1.16-26 (closed September 1, 2009)
+
 	* cca and rda: can now handle missing values in constraints or
 	conditions. With 'na.action = na.omit', the rows with missing
 	values are removed, and with 'na.action = na.exclude' all rows are



More information about the Vegan-commits mailing list