[Vegan-commits] r2351 - pkg/gravy/R
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Wed Jan 9 08:49:29 CET 2013
Author: jarioksa
Date: 2013-01-09 08:49:29 +0100 (Wed, 09 Jan 2013)
New Revision: 2351
Modified:
pkg/gravy/R/boxgradient.R
Log:
R CMD check warning on partial match of an argument
Modified: pkg/gravy/R/boxgradient.R
===================================================================
--- pkg/gravy/R/boxgradient.R 2013-01-08 20:16:44 UTC (rev 2350)
+++ pkg/gravy/R/boxgradient.R 2013-01-09 07:49:29 UTC (rev 2351)
@@ -1,4 +1,4 @@
-"boxgradient" <-
+`boxgradient` <-
function (x, grad, horizontal = TRUE, xlab, freq.lim = 5, cex.species = 0.7,
axes = TRUE, ...)
{
@@ -18,7 +18,8 @@
axes = FALSE, ...)
if (axes) {
axis(1)
- axis(2, at=1:ncol(mat), label=colnames(mat), las=1, cex.axis = cex.species)
+ axis(2, at=1:ncol(mat), labels = colnames(mat), las=1,
+ cex.axis = cex.species)
box()
rug(grad)
abline(v = all, lwd=c(1,2,1))
More information about the Vegan-commits
mailing list