[Vegan-commits] r1025 - in pkg/vegan: . R inst
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Sat Oct 3 07:07:31 CEST 2009
Author: jarioksa
Date: 2009-10-03 07:07:31 +0200 (Sat, 03 Oct 2009)
New Revision: 1025
Modified:
pkg/vegan/DESCRIPTION
pkg/vegan/R/linestack.R
pkg/vegan/inst/ChangeLog
Log:
linestack handles missing names and passess ... to plot()
Modified: pkg/vegan/DESCRIPTION
===================================================================
--- pkg/vegan/DESCRIPTION 2009-09-25 06:04:13 UTC (rev 1024)
+++ pkg/vegan/DESCRIPTION 2009-10-03 05:07:31 UTC (rev 1025)
@@ -1,7 +1,7 @@
Package: vegan
Title: Community Ecology Package
-Version: 1.16-30
-Date: September 18, 2009
+Version: 1.16-31
+Date: October 3, 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/linestack.R
===================================================================
--- pkg/vegan/R/linestack.R 2009-09-25 06:04:13 UTC (rev 1024)
+++ pkg/vegan/R/linestack.R 2009-10-03 05:07:31 UTC (rev 1025)
@@ -12,13 +12,15 @@
x <- drop(x)
if (!missing(labels) && !is.null(labels))
names(x) <- labels
+ else if (is.null(names(x)))
+ names(x) <- rep("", length(x))
op <- par(xpd = TRUE)
ord <- order(x)
x <- x[ord]
n <- length(x)
pos <- numeric(n)
if (!add) {
- plot(pos, x, type = "n", axes = FALSE, xlab = "", ylab = "")
+ plot(pos, x, type = "n", axes = FALSE, xlab = "", ylab = "", ...)
}
hoff <- hoff * strwidth("m")
ht <- air * strheight(names(x), cex = cex)
Modified: pkg/vegan/inst/ChangeLog
===================================================================
--- pkg/vegan/inst/ChangeLog 2009-09-25 06:04:13 UTC (rev 1024)
+++ pkg/vegan/inst/ChangeLog 2009-10-03 05:07:31 UTC (rev 1025)
@@ -2,8 +2,12 @@
VEGAN DEVEL VERSIONS at http://r-forge.r-project.org/
-Version 1.16-30 (opened September 18, 2009)
+Version 1.16-31 (opened October 3, 2009)
+ * linestack: passes "..." to plot(), handles missing names.
+
+Version 1.16-30 (closed October 3, 2009)
+
* manual pages (Rd files) were run through aspell. With this, an
error in an argument choice was corrected also in
plot.nestedtemp function.
More information about the Vegan-commits
mailing list