[Vegan-commits] r632 - pkg/vegan/man
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Wed Dec 10 09:57:56 CET 2008
Author: jarioksa
Date: 2008-12-10 09:57:55 +0100 (Wed, 10 Dec 2008)
New Revision: 632
Modified:
pkg/vegan/man/adipart.Rd
Log:
fixing adipart example
Modified: pkg/vegan/man/adipart.Rd
===================================================================
--- pkg/vegan/man/adipart.Rd 2008-12-10 04:45:34 UTC (rev 631)
+++ pkg/vegan/man/adipart.Rd 2008-12-10 08:57:55 UTC (rev 632)
@@ -75,9 +75,9 @@
l4=cutter(mite.xy$y, cut = seq(0, 10, by = 10)))
## Let's see in a map
par(mfrow=c(1,3))
-plot(mite.xy, main="l1", col=levsm$l1+1)
-plot(mite.xy, main="l2", col=levsm$l2+1)
-plot(mite.xy, main="l3", col=levsm$l3+1)
+plot(mite.xy, main="l1", col=as.numeric(levsm$l1)+1)
+plot(mite.xy, main="l2", col=as.numeric(levsm$l2)+1)
+plot(mite.xy, main="l3", col=as.numeric(levsm$l3)+1)
par(mfrow=c(1,1))
## Additive diversity partitioning
adpMite <- adipart(mite ~., levsm, index="richness", nsimul=20)
More information about the Vegan-commits
mailing list