[Raster-commits] r487 - pkg/raster/inst/doc

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Thu Sep 10 06:29:48 CEST 2009


Author: rhijmans
Date: 2009-09-10 06:29:48 +0200 (Thu, 10 Sep 2009)
New Revision: 487

Modified:
   pkg/raster/inst/doc/vignette.Rnw
Log:


Modified: pkg/raster/inst/doc/vignette.Rnw
===================================================================
--- pkg/raster/inst/doc/vignette.Rnw	2009-09-10 03:08:51 UTC (rev 486)
+++ pkg/raster/inst/doc/vignette.Rnw	2009-09-10 04:29:48 UTC (rev 487)
@@ -69,7 +69,7 @@
 r1 <- crop(r, newExtent(-180,0,0,30))
 r2 <- crop(r, newExtent(-10,180,-20,10))
 m <- merge(r1, r2)
-o <- overlay(ra, m, fun=sum)
+o <- overlay(ra, ra, fun=sum)
 d <- disaggregate(m, 2)
 f <- focal(d)
 @
@@ -110,7 +110,7 @@
 Figure~\ref{fig:fig2} (page~\pageref{fig:fig2})
 shows the time series plot made by the R statement
 <<label=fig2too,include=FALSE>>=
-plot(r, s)
+plot(r)
 @
 \begin{figure}
 \begin{center}



More information about the Raster-commits mailing list