[Raster-commits] r383 - pkg/raster/R

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Fri Mar 27 01:31:20 CET 2009


Author: rhijmans
Date: 2009-03-27 01:31:20 +0100 (Fri, 27 Mar 2009)
New Revision: 383

Modified:
   pkg/raster/R/aggregate.R
Log:


Modified: pkg/raster/R/aggregate.R
===================================================================
--- pkg/raster/R/aggregate.R	2009-03-25 08:03:23 UTC (rev 382)
+++ pkg/raster/R/aggregate.R	2009-03-27 00:31:20 UTC (rev 383)
@@ -18,7 +18,7 @@
 		xfact <- yfact <- fact
 	} else if (length(fact)==2) {
 		xfact <- as.integer(round(fact[[1]]))
-		yfact <- as.intger(round(fact[[2]]))
+		yfact <- as.integer(round(fact[[2]]))
 		if (xfact < 2) { stop('fact[[1]] should be > 1') } 
 		if (yfact < 2) { stop('fact[[2]] should be > 1') }
 	} else {



More information about the Raster-commits mailing list