[Vegan-commits] r2254 - pkg/vegan/man
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Mon Aug 20 15:14:13 CEST 2012
Author: jarioksa
Date: 2012-08-20 15:14:12 +0200 (Mon, 20 Aug 2012)
New Revision: 2254
Modified:
pkg/vegan/man/clamtest.Rd
pkg/vegan/man/mantel.correlog.Rd
Log:
stylistic changes in manual pages
Modified: pkg/vegan/man/clamtest.Rd
===================================================================
--- pkg/vegan/man/clamtest.Rd 2012-08-20 06:16:34 UTC (rev 2253)
+++ pkg/vegan/man/clamtest.Rd 2012-08-20 13:14:12 UTC (rev 2254)
@@ -142,9 +142,9 @@
\examples{
data(mite)
data(mite.env)
-x <- clamtest(mite, mite.env$Shrub=="None", alpha=0.005)
-summary(x)
-head(x)
-plot(x)
+sol <- clamtest(mite, mite.env$Shrub=="None", alpha=0.005)
+summary(sol)
+head(sol)
+plot(sol)
}
\keyword{ htest }
Modified: pkg/vegan/man/mantel.correlog.Rd
===================================================================
--- pkg/vegan/man/mantel.correlog.Rd 2012-08-20 06:16:34 UTC (rev 2253)
+++ pkg/vegan/man/mantel.correlog.Rd 2012-08-20 13:14:12 UTC (rev 2254)
@@ -146,10 +146,10 @@
mite.hel.resid <- resid(lm(as.matrix(mite.hel) ~ ., data=mite.xy))
# Compute the detrended species distance matrix
-mite.hel.D = dist(mite.hel.resid)
+mite.hel.D <- dist(mite.hel.resid)
# Compute Mantel correlogram with cutoff, Pearson statistic
-mite.correlog = mantel.correlog(mite.hel.D, XY=mite.xy, nperm=49)
+mite.correlog <- mantel.correlog(mite.hel.D, XY=mite.xy, nperm=49)
summary(mite.correlog)
mite.correlog
# or: print(mite.correlog)
@@ -157,8 +157,8 @@
plot(mite.correlog)
# Compute Mantel correlogram without cutoff, Spearman statistic
-mite.correlog2 = mantel.correlog(mite.hel.D, XY=mite.xy, cutoff=FALSE,
-r.type="spearman", nperm=49)
+mite.correlog2 <- mantel.correlog(mite.hel.D, XY=mite.xy, cutoff=FALSE,
+ r.type="spearman", nperm=49)
summary(mite.correlog2)
mite.correlog2
plot(mite.correlog2)
More information about the Vegan-commits
mailing list