[Vegan-commits] r750 - in pkg/vegan: inst man
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Sun Mar 22 08:00:15 CET 2009
Author: jarioksa
Date: 2009-03-22 08:00:15 +0100 (Sun, 22 Mar 2009)
New Revision: 750
Modified:
pkg/vegan/inst/ChangeLog
pkg/vegan/man/add1.cca.Rd
Log:
add1.cca help page got better examples of usage
Modified: pkg/vegan/inst/ChangeLog
===================================================================
--- pkg/vegan/inst/ChangeLog 2009-03-18 03:22:48 UTC (rev 749)
+++ pkg/vegan/inst/ChangeLog 2009-03-22 07:00:15 UTC (rev 750)
@@ -4,6 +4,9 @@
Version 1.16-15 (opened Mar 10, 2009)
+ * add1/drop1 help: better example after a query of usage in R
+ mailing list.
+
* oecosimu & permatswap: much faster 'burnin' implemented through
'thin', and hence using a single C loop instead of multiple calls
and allocations to an R object.
@@ -11,7 +14,7 @@
* as.mcmc.permat: provides same functionality for permat objects
as as.mcmc.oecosimu for oecosimu objects.
- * burnin and thin in permatswap: same default values (0 and 1,
+ * permatswap: same default values of 'burnin' and 'thin' (0 and 1,
respectively) are set for permatswap and oecosimu functions.
Previous defaults for permatswap were in conflict with oecosimu
when called by permat.control.
Modified: pkg/vegan/man/add1.cca.Rd
===================================================================
--- pkg/vegan/man/add1.cca.Rd 2009-03-18 03:22:48 UTC (rev 749)
+++ pkg/vegan/man/add1.cca.Rd 2009-03-22 07:00:15 UTC (rev 750)
@@ -64,9 +64,16 @@
output. Functions \code{\link{cca}}, \code{\link{rda}} and
\code{\link{capscale}} produce result objects for these functions.}
\examples{
-data(varespec)
-data(varechem)
-step(rda(varespec ~ 1, varechem), reformulate(names(varechem)), test="perm")
+data(dune)
+data(dune.env)
+## Automatic model building with permutation tests
+step(rda(dune ~ 1, dune.env), reformulate(names(dune.env)), test="perm")
+## Manual model building
+## -- define the maximal model for scope
+mbig <- rda(dune ~ ., dune.env)
+## -- define an empty model to start with
+m0 <- rda(dune ~ 1, dune.env)
+## -- manual selection and updating
}
\keyword{multivariate }
\keyword{ models}
More information about the Vegan-commits
mailing list