[R-sig-Geo] Creating nb object with cell2nb
Michal Gallay
mgallay01 at qub.ac.uk
Sun Feb 24 01:05:14 CET 2008
Dear R User's,
after attempting to create and 'nb' object with cell2nb
following errror had come up:
install.packages(spdep)
require(spdep)
cell2nb(10,10, type="rook")
Error in UseMethod("as.logical") : no applicable method for "as.logical"
I am using R-2.6.2.
I much appreciate your help.
Regards
Michal
--
Michal Gallay
Postgraduate Research Student
School of Geography, Archaeology and Palaeoecology
Queen's University
Belfast BT7 1NN
Northern Ireland
Tel: +44(0)2890 273929
Fax: +44(0)2890 973212
email: mgallay01 at qub.ac.uk
www: www.qub.ac.uk/geog
More information about the R-sig-Geo
mailing list