[Vegan-commits] r1750 - pkg/permute/man
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Wed Aug 24 10:00:07 CEST 2011
Author: gsimpson
Date: 2011-08-24 10:00:07 +0200 (Wed, 24 Aug 2011)
New Revision: 1750
Modified:
pkg/permute/man/nobs.Rd
Log:
make example a bit clearer on intention with L markup for integer case
Modified: pkg/permute/man/nobs.Rd
===================================================================
--- pkg/permute/man/nobs.Rd 2011-08-24 07:59:26 UTC (rev 1749)
+++ pkg/permute/man/nobs.Rd 2011-08-24 08:00:07 UTC (rev 1750)
@@ -35,7 +35,7 @@
}
\author{Gavin Simpson}
\examples{
-## vector
+## numeric vector
len <- sample(1:10, 1)
v <- as.numeric(sample(1:100, len))
len
@@ -43,7 +43,7 @@
isTRUE(all.equal(len, obs))
## integer
-len <- sample(1:10, 1)
+len <- sample(1L:10L, 1)
obs <- nobs(len)
isTRUE(all.equal(len, obs))
More information about the Vegan-commits
mailing list