[Raster-commits] r128 - in pkg/raster: . R man
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Tue Jan 13 08:07:05 CET 2009
Author: rhijmans
Date: 2009-01-13 08:07:05 +0100 (Tue, 13 Jan 2009)
New Revision: 128
Modified:
pkg/raster/DESCRIPTION
pkg/raster/R/adjacency.R
pkg/raster/man/adjacency.Rd
Log:
Modified: pkg/raster/DESCRIPTION
===================================================================
--- pkg/raster/DESCRIPTION 2009-01-13 06:53:41 UTC (rev 127)
+++ pkg/raster/DESCRIPTION 2009-01-13 07:07:05 UTC (rev 128)
@@ -2,7 +2,7 @@
Type: Package
Title: Raster data handling for geographic data analysis and modeling
Version: 0.8.5
-Date: 12-Jan-2009
+Date: 13-Jan-2009
Depends: methods, sp, rgdal (>= 0.5-33), R (>= 2.8.0)
Author: Robert J. Hijmans & Jacob van Etten
Maintainer: Robert J. Hijmans <r.hijmans at gmail.com>
Modified: pkg/raster/R/adjacency.R
===================================================================
--- pkg/raster/R/adjacency.R 2009-01-13 06:53:41 UTC (rev 127)
+++ pkg/raster/R/adjacency.R 2009-01-13 07:07:05 UTC (rev 128)
@@ -1,7 +1,7 @@
# Author: Jacob van Etten jacobvanetten at yahoo.com
# International Rice Research Institute
# Date : January 2009
-# Version 1.0
+# Version 0.8
# Licence GPL v3
.cs <- function(a,b)
@@ -15,7 +15,7 @@
adjacency <- function(raster, fromCells, toCells, directions, outerMeridianConnect)
{
- nCols <- ncols(raster)
+ nCols <- ncol(raster)
nCells <- ncells(raster)
left <- seq(nCols+1,(nCells-2*nCols+1),by=nCols)
Modified: pkg/raster/man/adjacency.Rd
===================================================================
--- pkg/raster/man/adjacency.Rd 2009-01-13 06:53:41 UTC (rev 127)
+++ pkg/raster/man/adjacency.Rd 2009-01-13 07:07:05 UTC (rev 128)
@@ -6,7 +6,7 @@
calculate adjacent cells in a grid
}
\usage{
-adjacency(raster, fromCells, toCells, mode, outerMeridianConnect)
+adjacency(raster, fromCells, toCells, directions, outerMeridianConnect)
}
\arguments{
More information about the Raster-commits
mailing list