[Vegan-commits] r1574 - pkg/vegan/R
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Wed Apr 6 17:32:27 CEST 2011
Author: jarioksa
Date: 2011-04-06 17:32:27 +0200 (Wed, 06 Apr 2011)
New Revision: 1574
Modified:
pkg/vegan/R/plot.metaMDS.R
pkg/vegan/R/scores.metaMDS.R
Log:
clean-up after light-minded change of 'dims' to 'ndim'
Modified: pkg/vegan/R/plot.metaMDS.R
===================================================================
--- pkg/vegan/R/plot.metaMDS.R 2011-04-06 14:56:09 UTC (rev 1573)
+++ pkg/vegan/R/plot.metaMDS.R 2011-04-06 15:32:27 UTC (rev 1574)
@@ -6,7 +6,7 @@
display <- match.arg(display)
if (shrink) {
x$species <- scores(x, display = "species", shrink = shrink,
- choices=1:x$dims)
+ choices=1:x$ndim)
}
ordiplot(x, choices = choices, type = type, display = display, ...)
}
Modified: pkg/vegan/R/scores.metaMDS.R
===================================================================
--- pkg/vegan/R/scores.metaMDS.R 2011-04-06 14:56:09 UTC (rev 1573)
+++ pkg/vegan/R/scores.metaMDS.R 2011-04-06 15:32:27 UTC (rev 1574)
@@ -3,7 +3,7 @@
{
display <- match.arg(display)
if (missing(choices))
- choices <- 1:x$dims
+ choices <- 1:x$ndim
if (display == "sites")
X <- x$points
else if (display == "species") {
More information about the Vegan-commits
mailing list