[Vegan-commits] r1041 - in pkg/vegan: R man

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Mon Oct 12 11:12:34 CEST 2009


Author: jarioksa
Date: 2009-10-12 11:12:34 +0200 (Mon, 12 Oct 2009)
New Revision: 1041

Modified:
   pkg/vegan/R/model.matrix.cca.R
   pkg/vegan/man/model.matrix.cca.Rd
Log:
warnigns: fixed

Modified: pkg/vegan/R/model.matrix.cca.R
===================================================================
--- pkg/vegan/R/model.matrix.cca.R	2009-10-11 15:00:09 UTC (rev 1040)
+++ pkg/vegan/R/model.matrix.cca.R	2009-10-12 09:12:34 UTC (rev 1041)
@@ -1,7 +1,7 @@
 `model.matrix.cca` <-
-    function (formula, ...) 
+    function (object, ...) 
 {
-    call <- formula$call
+    call <- object$call
     m <- match(c("formula", "data", "na.action", "subset"), names(call), 
         0)
     call <- call[c(1, m)]

Modified: pkg/vegan/man/model.matrix.cca.Rd
===================================================================
--- pkg/vegan/man/model.matrix.cca.Rd	2009-10-11 15:00:09 UTC (rev 1040)
+++ pkg/vegan/man/model.matrix.cca.Rd	2009-10-12 09:12:34 UTC (rev 1041)
@@ -43,7 +43,7 @@
 }
 \author{
  Jari Oksanen
-
+}
 \seealso{
  \code{\link{model.frame}}, \code{\link{model.matrix}}.
 }



More information about the Vegan-commits mailing list