[Vegan-commits] r2347 - pkg/lmodel2/inst/doc

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Tue Jan 8 16:17:44 CET 2013


Author: jarioksa
Date: 2013-01-08 16:17:44 +0100 (Tue, 08 Jan 2013)
New Revision: 2347

Modified:
   pkg/lmodel2/inst/doc/mod2user.Rnw
Log:
ripley at stats.ox.ac.uk wrote on 08 January 2013 16:33 UTC+2:

The data.frame methods for mean() and sd() have been deprecated since
October 2011, but CRAN packages

gstat (in tests/windst.R: the > 50 warnings have not be printed out!)
lmodel2 (in vignette mod2user.Rnw)
nsRFA (in vignette nsRFA_ex01.Rnw)
pequod (in many examples)

are still using them.  They will be gone by R 3.0.0 (and are in R-devel
now), so please update belatedly.
Before Jan 25 if you want to retain the package on CRAN.


Modified: pkg/lmodel2/inst/doc/mod2user.Rnw
===================================================================
--- pkg/lmodel2/inst/doc/mod2user.Rnw	2013-01-07 11:42:36 UTC (rev 2346)
+++ pkg/lmodel2/inst/doc/mod2user.Rnw	2013-01-08 15:17:44 UTC (rev 2347)
@@ -475,7 +475,7 @@
 \begin{SCfigure}
 <<fig=true,echo=false,results=hide>>=
 plot(Ex1.res, centro = TRUE, xlab="log(observed survival time", ylab="Forecasted")
-abline(diff(mean(mod2ex1)), 1, lty=2)
+abline(diff(colMeans(mod2ex1)), 1, lty=2)
 legend("topleft", c("MA regression", "Confidence limits", "45 degree line"), col=c("red", "grey", "black"), lty=c(1,1,2))
 @
 \caption{Scatter diagram of the 2.5 Example 1 data showing the major



More information about the Vegan-commits mailing list