Re: [R] rgdal package (Matteo Toro)

2010-10-18 Thread Roger Bivand
/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. - Roger Bivand Economic Geography Section Department of Economics Norwegian School of Economics and Business Administration Helleveien

Re: [R] Error: could not find function extract in package raster

2010-11-09 Thread Roger Bivand
-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. - Roger Bivand Economic Geography Section Department of Economics Norwegian School of Economics and Business Administration Helleveien 30 N

Re: [R] Moran I for very large data set

2010-11-30 Thread Roger Bivand
much quicker but Great Circle distances are required. Thanks Gary Watmough - Roger Bivand Economic Geography Section Department of Economics Norwegian School of Economics and Business Administration Helleveien 30 N-5045 Bergen, Norway -- View this message in context: http://r

Re: [R] using grib files in R

2010-08-06 Thread Roger Bivand
/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. - Roger Bivand Economic Geography Section Department of Economics Norwegian School of Economics and Business Administration

Re: [R] Select.spatial on spplots

2009-09-28 Thread Roger Bivand
an identify= argument, but this is not the same as select.spatial(), which lets the user select points spatially by drawing a polygon around the ones to be selected. Roger Bivand cls59 wrote: Julius Tesoro wrote: Hi everyone. I posted this on R-sig-geo but got no response. Can

Re: [R] map of a country and its different geographical levels

2009-11-07 Thread Roger Bivand
Perhaps asking on R-sig-geo might help (as well as reading the function help files, scripts found lying around somewhere may be stale ...)? If readShapePoly() (deprecated - use readShapeSpatial() instead) says that the data are not polygons, then they are not. If you want to fill administrative

Re: [R] map of a country and its different geographical levels

2009-11-07 Thread Roger Bivand
the discrepancy without success so far. I really hope that the case I hit is an exception - displaying the boundaries on GE should help clear things up for users. Roger Hadley -- Roger Bivand Economic Geography Section, Department of Economics, Norwegian School of Economics and Business

[R] [R-pkgs] New sp release

2010-01-13 Thread Roger Bivand
-January/007377.html Should anyone see problems following this change, please contact me directly with a reproducible example. -- Roger Bivand Economic Geography Section, Department of Economics, Norwegian School of Economics and Business Administration, Helleveien 30, N-5045 Bergen, Norway

Re: [R] Maptools runs out of memory installing the help files for spCbind-methods

2010-01-28 Thread Roger Bivand
of the text in that file or its successor is unpalatable. Roger - Roger Bivand Economic Geography Section Department of Economics Norwegian School of Economics and Business Administration Helleveien 30 N-5045 Bergen, Norway -- View this message in context: http://n4.nabble.com/Maptools-runs

Re: [R] Underlay Mapoutlines with Googlemapspictures

2010-02-19 Thread Roger Bivand
nearest CRAN mirror to load image tiles. Roger Bivand - Roger Bivand Economic Geography Section Department of Economics Norwegian School of Economics and Business Administration Helleveien 30 N-5045 Bergen, Norway -- View this message in context: http://n4.nabble.com/Date-label-lost-while

Re: [R] Distance matrix in SpDep-package

2007-10-16 Thread Roger Bivand
spatial weights. Roger Bivand Thank you very much for your answer. Kind regards, Elke Moons __ Elke Moons, PhD Transportation Research Institute/ Instituut voor Mobiliteit (IMOB) Universiteit Hasselt Wetenschapspark 5, bus 6 3590

Re: [R] how to get points from SpatialPolygonsDataFrame

2008-02-04 Thread Roger Bivand
Takatsugu Kobayashi tkobayas at indiana.edu writes: try tmp- slot(ex_1.7.selected, 'polygons') sub.tmp - slot(tmp[[1]],'Polygons') [EMAIL PROTECTED] will get you there. taka Jarek Jasiewicz wrote: Milton Cezar Ribeiro wrote: Dear all, grd - GridTopology(c(1,1),

Re: [R] How to search for packages

2008-02-04 Thread Roger Bivand
hadley wickham h.wickham at gmail.com writes: Also it is staggering that there are over 1200 packages for R i was suspecting close to 1000 . And the site is a couple of weeks out of date, so there are probably even more. The real answer was Task Views on CRAN (most of the OQs

Re: [R] Analysis with spatstat and Kcross() requires to much memory

2008-02-15 Thread Roger Bivand
Rainer M Krug r.m.krug at gmail.com writes: Hi I am running analysis with Kcross from the package spatstat and I am getting a message that R can not allocate enough memory for a vector of 900MB. R seems to be running towards the 2GB limit per process. The dataset is not to big (ca

Re: [R] how to plot a map on a non-rectilinear grid

2008-03-17 Thread Roger Bivand
spTransform() methods in the rgdal package. Perhaps the R-sig-geo list would be more suited to your question? Roger Bivand __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R

Re: [R] analyzing binomial data with spatially correlated errors

2008-03-20 Thread Roger Bivand
with a binomial family there is for a (0,1) response, rather than a two-column matrix. You could try gee or geoRglm -- neither trivially easy, I think ... The same paper includes a GEE adaptation, but for a specific spatial configuration rather than a general one. Roger Bivand Ben

Re: [R] Generating maps in R

2008-03-30 Thread Roger Bivand
Aleksandr Andreev aleksandr.andreev at duke.edu writes: Greetings! I am trying plot some data on a map in R. Here's the scenario. I have a variable called probworkinghealthy which contains a predicted probability of employment for every individual in my sample (about 100,000

Re: [R] Generating maps in R

2008-03-31 Thread Roger Bivand
Aleksandr Andreev aleksandr.andreev at duke.edu writes: Roger Bivand Roger.Bivand at nhh.no writes: Merge using: FS1 - spCbind(FS, agg2) This call fails, because: Error in spCbind(FS, agg2) : different numbers of rows This was exactly why I emphasised care. One way to try to do

Re: [R] GeoDa spdep

2008-04-01 Thread Roger Bivand
Steve Schachterle steve.schachterle at gmail.com writes: My question is in regard to the spdep and GeoDa packages. Do you know how to extract a neighborhood/adjacency matrix from R? I need a matrix that has all the neighborhoods on the X and Y axis, and then a r=1 when the neighborhoods

Re: [R] GeoXp package

2009-06-26 Thread Roger Bivand
sees LD_LIBRARY_PATH. This is a very detailed question, more suited to GRASS or GDAL lists, or R-sig-geo. You'll see when you have the solution because the GDAL utilities will work at the shell, for example gdalinfo --formats - I think that it doesn't at the moment. Roger Bivand epoizot wrote

Re: [R] Map projections - converting latitude/longitude to eastings and northings

2009-07-02 Thread Roger Bivand
to the other. Note that for obvious reasons a rectangle on one side will only rarely be a rectangle on the other, so I've just taken a bounding box. Roger Bivand stephen sefick wrote: I am trying to set up a Grass project and need to set up the region so that I can view the map. I can look

Re: [R] Error when sampling from SpatialLines

2009-07-15 Thread Roger Bivand
for the total length of points. I suggest that you try the latest version of sp from the CVS repository. Roger Bivand PS. The traffic that you mention about sampling on lines was on the R-sig-geo list, not this list, so a post there might have been a better idea. PPS. Always state package version numbers

Re: [R] Re ad PNG file and display with more than 256 colors RGDAL

2009-07-15 Thread Roger Bivand
are 1, 2, 3 image(myTile, red=1, green=2, blue=3) On the other hand, the colours in these images are arbitrary manipulations of the sensors, and have already been warped and resampled, so decimating the colour representation isn't inappropriate, and 256 is not a small number. Roger Bivand PS

Re: [R] Simulation code error

2009-07-15 Thread Roger Bivand
, and leads to threads being left dangling if solutions do not propagate to all lists where threads were initiated. Roger Bivand Steve Hong wrote: Dear List, I have some problem with my simulation code. Here is output from R: sim.sp - function(data,CM,n,N) + { + C - matrix(rep(NA,N),ncol=1

Re: [R] polygon centroids

2009-08-08 Thread Roger Bivand
I think that Daniel is correct, and that you are mistaking the console representation from the internal one - try ?print and look at the digits= option. In general, note that get.Pcent() is not currently used, and coordinates() of a SpatialPolygonsDataFrame object read in using, for example,

Re: [R] address (nil), cause 'memory not mapped'

2008-08-20 Thread Roger Bivand
Juan Manuel Barreneche jumanbar at gmail.com writes: just to mention that the loop was already running for about 20 hours... Juan On Tue, Aug 19, 2008 at 6:31 PM, Juan Manuel Barreneche jumanbar at gmail.comwrote: Dear users, I got this problem and i don't have a clue of what it

Re: [R] spatial probit/logit for prediction

2008-08-20 Thread Roger Bivand
Freeman, Robert rfreeman at emcc.edu writes: I am wondering if there is a way to do a spatial error probit/logit model in R? I can't seem to find it in any of the packages. I can do it in MATLAB with Gibbs sampling, but would like to confirm the results. Ideally I would like to use this

Re: [R] Interpolation Problems

2008-09-02 Thread Roger Bivand
Steve Murray smurray444 at hotmail.com writes: Thanks Duncan - a couple of extra points... I should have perhaps pointed out that the data are on a *regular* 'box' grid (with each value currently spaced at 1 degree intervals). Also, I'm looking for something fairly simple, like a

Re: [R] Converting Geo-Coordinates Unities

2008-09-17 Thread Roger Bivand
Rodrigo Aluizio r.aluizio at gmail.com writes: Thanks for the elucidation James. After reading the .pdf of proj4 and your answer, I believe I won't need proj4 package. Well, I still don't know all the kind of transformations we will need here. I'm just getting prepared to future data

Re: [R] Car.proper C[] matrix

2008-09-17 Thread Roger Bivand
what you need. Roger Bivand __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.

Re: [R] Car.proper C[] matrix

2008-09-18 Thread Roger Bivand
Bivand Roger Bivand wrote: Jason Gasper Jason.Gasper at noaa.gov writes: Here is the WinBUGS code Uwe Ligges wrote: If you want that people help to translate *code*, you have to specify it ... Uwe Ligges Please look at the nb2WB() function in the spdep

Re: [R] R Map using SAS data

2008-09-23 Thread Roger Bivand
free geodata sources is generally much harder than plotting the maps. Roger Bivand Best, Junjie __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting

Re: [R] Need help creating spatial correlation for MC simulation

2008-09-23 Thread Roger Bivand
, but until we know what your actual needs are, it is hard to say. You could, for example, be looking for some of the tests in the DCluster package, but we cannot tell. Roger Bivand __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r

Re: [R] Working with LiDAR .las files

2008-06-16 Thread Roger Bivand
Etienne Bellemare Racine etiennebr at gmail.com writes: Hi, I am working with airborne LiDAR data and R. Do you know of any package or project designed to achieve that goal ? Largely, if you are using R and .las files (or lidar data), I would like to hear about your work flow.

Re: [R] Insert raster image into an R graphic

2008-06-18 Thread Roger Bivand
Tudor Bodea gtg757i at mail.gatech.edu writes: Creg: Thank you so much for your leads. I will take a look at the package and let you know how it goes. Greg's solution is more up-to-date, but you'll find that the pixmap package has a function called addlogo - see ?addlogo-methods - which

Re: [R] Plot point patterns

2008-06-18 Thread Roger Bivand
Vanesa Maria Santos Sanchez vanesa.santossanchez at alum.uca.es writes: Hello! I want to plot a multitype point pattern called new in package spatstat. When I write plot(new) in the graphic window I can see a strech rectangle with a point inside, not the point pattern.If I write

Re: [R] question about krige code in R

2008-07-31 Thread Roger Bivand
Alessandro alessandro.montaghi at unifi.it writes: Hi All, I have this question. I wish to create a kriging map with R but I haven't a auxiliary map. I have only one txt file with X, Y and Z records. When I use this code: ... subground.ok - krige (Z~sqrt(X+Y), subground,

Re: [R] bug in readRAST6 function in package spgrass6

2008-08-01 Thread Roger Bivand
Biology Faculty of Science Natural Sciences Building Private Bag X1 University of Stellenbosch Matieland 7602 South Africa -- Roger Bivand Economic Geography Section, Department of Economics, Norwegian School of Economics and Business Administration, Helleveien 30, N-5045 Bergen, Norway. voice

Re: [R] Reading an ArcGIS raster file

2008-04-05 Thread Roger Bivand
Liviu Andronic landronimirc at gmail.com writes: Hello, On Fri, Apr 4, 2008 at 8:09 PM, Martin Rittner kmr at thegeologician.net wrote: I don't know too much about R myself, but a little about ArcGIS: Come on, please do use a little time to search! An RSiteSearch(Arc raster) gets you

Re: [R] spdep question - Moran's I

2008-04-19 Thread Roger Bivand
Haenlein.Michael Michael.Haenlein at whu.edu writes: Dear all, I would like to calculate a Moran's I statistic using the moran function in the spdep package. The problem I'm having deals with how to create the listw object. My data stems from the area of social network analysis. I

Re: [R] generic question == mapping Longhurst biogeochemical ocean provinces in R

2008-04-29 Thread Roger Bivand
Maria Jose Juan Jorda mjuanjorda at gmail.com writes: Hello all I am a newbie to R plotting maps. I am trying to plot over a world map a layer of Biogeochemical provinces (BGCP) by A.R. Longhurst. Each ocean region unfortunately are quite irregular in shape (not perfect squares). In GIS

Re: [R] Gravity (spatial interaction) models in R

2008-05-06 Thread Roger Bivand
Melanie Murphy mamurphy at turbonet.com writes: I was wondering if anyone has developed (or is developing) an implementation for gravity models (spatial interaction) in R. I conducted several searches on the CRAN website with no luck. Currently I am estimating parameters via

Re: [R] Spatial Overlay - SQL - Geoprocessing

2008-05-24 Thread Roger Bivand
Paulo Cardoso pecardoso at netcabo.pt writes: Can we by any change perform in R something similar geoprocessing or, more advanced, Spatial SQL over vectorial data? Please visit the Spatial task view on your nearest CRAN mirror, which gives some details of useful resources. Consider using the

Re: [R] Suitable package for carrying out sigma and beta co nvergence in panel data

2008-05-29 Thread Roger Bivand
attention, for example, to what formula handling does to a factor (categorical variable) - it generates dummies automatically. I hope this will let you get started. Roger Bivand Regards Amarjit Singh Sethi __ R-help@r-project.org mailing list https

Re: [R] GRASS raster data processing

2009-06-12 Thread Roger Bivand
Perhaps reading ?readRAST6 would help? It does say: vname: A vector of GRASS 6.0 raster file names so you could write: Kar - readRAST6(c(Incis_Kar, DEM_Kar), plugin=FALSE) and plot(Incis_Kar ~ DEM_Kar, data=Kar) should get you there - in spearfish: sp - readRAST6(c(erosion1,

Re: [R] [R-sig-Geo] spatstat questions

2007-12-09 Thread Roger Bivand
at: http://casoilresource.lawr.ucdavis.edu/drupal/node/319 Hope this helps, Roger Kind regards Miltinho Brazil. -- Roger Bivand Economic Geography Section, Department of Economics, Norwegian School of Economics and Business Administration, Helleveien 30, N-5045 Bergen, Norway. voice: +47

Re: [R] [R-sig-Geo] Markov Chain Monte Carlo (MCMR) in R for spatial simulation.

2007-12-12 Thread Roger Bivand
? Roger Liviu [1] http://cran.at.r-project.org/src/contrib/Views/ [2] http://cran.at.r-project.org/src/contrib/PACKAGES.html ___ R-sig-Geo mailing list [EMAIL PROTECTED] https://stat.ethz.ch/mailman/listinfo/r-sig-geo -- Roger Bivand Economic

Re: [R] [R-sig-Geo] How to plot the grid figure using R?

2007-12-12 Thread Roger Bivand
, rdata, newdata=SP, idp=2.0, nmax=4) is.na(SP_rdata2$var1.pred) - !(1:625 %in% whre) spplot(SP_rdata2, var1.pred, sp.layout=list(pts)) for example. Roger Thanks very much. [[alternative HTML version deleted]] -- Roger Bivand Economic Geography

Re: [R] matrix to gal object

2007-12-22 Thread Roger Bivand
) # write neighbours component of spatial weights list as GAL file Roger Bivand Thanks in advance for the help. Bernardo. University of Concepció. __ R-help at r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE

Re: [R] [R-sig-Geo] clipping a large image on R

2008-01-11 Thread Roger Bivand
. ___ R-sig-Geo mailing list [EMAIL PROTECTED] https://stat.ethz.ch/mailman/listinfo/r-sig-geo -- Roger Bivand Economic Geography Section, Department of Economics, Norwegian School of Economics and Business Administration, Helleveien 30, N-5045 Bergen, Norway

Re: [R] basic spatial query

2008-01-28 Thread Roger Bivand
jgarcia at ija.csic.es writes: Hello; Please coud you advise me of a simple way to select points (x,y coordinates) that fall within a polygon. I've got a set of polygons, each one defined by an arbitrary number of points, and several points inside each polygon. I know this is simple with

Re: [R] maptools no such file

2008-01-28 Thread Roger Bivand
), do remember to include the verbatim output of sessionInfo() too. Roger Bivand -- This message was sent on behalf of pieterprovoost at gmail.com at openSubscriber.com http://www.opensubscriber.com/message/r-help at r-project.org/8476734.html

Re: [R] maptools no such file

2008-01-28 Thread Roger Bivand
Roger Bivand Roger.Bivand at nhh.no writes: pieterprovoost at gmail.com writes: No, I get the same error message there... Your original question was: I'm having problems reading a shapefile with read.shape (maptools). I'm absolutely sure my file is there, but I get no such file

Re: [R] maptools no such file

2008-01-28 Thread Roger Bivand
? Is readOGR() in rgdal working, by the way? Roger On 28.01.2008 12:35 (UTC+1), Roger Bivand wrote: pieterprovoost at gmail.com writes: No, I get the same error message there... Please do not needlesly delete the thread content. Your original question was: I'm having problems reading

Re: [R] political maps world maps in R, wrld_simpl

2009-04-07 Thread Roger Bivand
but it seems sparse to me. The R-sig-geo list is more focussed on this kind of question, as is pointed out on the Spatial Task View on CRAN. Hope this helps, Roger Bivand Any hints will be appreciated. Thanks in advance, Patrizio __ R-help@r

Re: [R] political maps world maps in R, wrld_simpl

2009-04-07 Thread Roger Bivand
is a great help for getting graphics to do what you want, but looking at ?x11 or ?windows, or ?postscript or ?pdf for file output, will cover the basics. Hope this helps, Roger Best Patrizio 2009/4/7 Roger Bivand roger.biv...@nhh.no: Patrizio Frederic frederic.patrizio at gmail.com writes

Re: [R] map of china without regions

2009-04-17 Thread Roger Bivand
) data(wrld_simpl) plot(wrld_simpl[wrld_simpl$ISO2 %in% c(CN, TW),]) depending on your needs. Roger Bivand HTH Ray Brownrigg On Fri, 17 Apr 2009, Cuvelier Etienne wrote: Hello, I use the map package in conjunction with the mapdata package, and I want to draw the map of China without

Re: [R] Running mean for spatial data

2008-09-29 Thread Roger Bivand
representation carefully, and seeing whether R is the best platform for you for this task. Roger Bivand Thank you, Isaac __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R

Re: [R] Error in spdep: system is computationally singular

2008-10-09 Thread Roger Bivand
a result. Given that you've manipulated the data a good deal, I wouldn't rely on the output standard errors for inference, though. Roger Bivand Thanks a lot, Alberto __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help

Re: [R] map + some arbitrary locations' heights: some k ind of perspective or contour plot possible?

2008-10-10 Thread Roger Bivand
to use interp() in the akima package for this, although there are lots of alternatives. There has just been a thread on this on R-sig-geo, subject: interp.old and write.ascii.grid, showing how also to export the interpolated values to a grid file. Roger Bivand Thanks for any suggestions

Re: [R] GWR Predictions' standard deviation

2008-10-10 Thread Roger Bivand
this, but it involves coding, though not coding from scratch. Roger Bivand Thank you very much, Eduardo. __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org

Re: [R] [R-sig-Geo] Using RGDAL to copy header information...

2008-11-06 Thread Roger Bivand
this helps, Roger --j -- Roger Bivand Economic Geography Section, Department of Economics, Norwegian School of Economics and Business Administration, Helleveien 30, N-5045 Bergen, Norway. voice: +47 55 95 93 55; fax +47 55 95 95 43 e-mail: [EMAIL PROTECTED

Re: [R] read Idrisi file

2008-11-06 Thread Roger Bivand
of your data, used the GDAL bindings directly, or use sp classes if the raster isn't huge. Roger Bivand Thanks __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org

Re: [R] maptools: Test if point is in polygon

2009-02-06 Thread Roger Bivand
the query point(s) as a SpatialPoints object, and overlay it on the input object. The output is a vector of indices, showing which Polygons object the points lie in, or NA if they do not. Roger Bivand PS. These kinds of questions typically get more focussed response on the R-sig-geo list

Re: [R] Does the labpt object in the Polygons-class represent the centroid of the polygon

2009-02-06 Thread Roger Bivand
that this is the case, because other points might be validly inserted as label points. The default constructor uses the centroid of the largest non-hole ring in the Polygons object. Roger Bivand Thank you for your help. __ R-help@r-project.org

Re: [R] Help on computing Geary's C statistic to test for Spatial Autocorrelation

2009-02-09 Thread Roger Bivand
variable, so analyse each of your columns in turn. You have a weights matrix, but geary.test() needs a listw object, so use mat2listw() to construct it. RSiteSearch() on Geary test takes you directly to the function you need, but for listw matrix the hits are a bit more diffuse. Roger Bivand

Re: [R] rgdal and spgrass6

2008-11-25 Thread Roger Bivand
mirror are you using? Which file are you claiming to have downloaded? Should you have posted on the R-sig-geo and/or R-sig-Debian lists - this is a specialised question? Roger Bivand Thybério Luna Freire wrote: Hi, i'm trying to install the packages rgdal and spgrass6 by install.packages

Re: [R] readAsciiGrid memory issues

2008-12-04 Thread Roger Bivand
will result in copies. See several threads on R-sig-geo on handling large data sets, including one at: https://stat.ethz.ch/pipermail/r-sig-geo/2008-November/004486.html Also visit the raster package on R-Forge, which may offer a packaged solution to this. Roger Bivand I am running linux 64bit

Re: [R] exporting rast from R to GRASS

2008-12-10 Thread Roger Bivand
$geoR_pred - kc$predict writeRAST6(SPDF_utm[geoR_pred], geoR_pred) or similar (untried). Note that either of the statgrass or R-sig-geo lists are more relevant than this one. Roger Bivand Help me, please! Thybério Luna - Brazil __ R-help@r

Re: [R] spatial AR and ARIMA

2008-12-12 Thread Roger Bivand
(or moving average, but not SAR and SMA at the same time), see spautolm() in spdep. Note that with corSpatial(), you can fit a selection of relevant mixed effects models using nlme and similar packages - is this what you are looking for? Roger Bivand Thanks, Sincerely, Erin

Re: [R] convert opengis wkt to geometry?

2008-12-16 Thread Roger Bivand
, that is flattened) are supported in sp/rgdal. Please consider following up on R-sig-geo; there are possibly more eyes with relevant experience there. If the OpenGIS strings could rather be treated as GML, OGR has a driver for that too. Roger Bivand Jeff

Re: [R] autologistic modelling in R

2008-12-19 Thread Roger Bivand
if the spatial autocorrelation is expressed through a spatial weights matrix rather than as a function of distance. Hope this helps, Roger Bivand. PS. RSiteSearch on autologistic does find: http://finzi.psych.upenn.edu/R/Rhelp02a/archive/147538.html which is a posting by Elias Krainski on R-sig-geo

Re: [R] autologistic modelling in R

2008-12-21 Thread Roger Bivand
problems. Roger Bivand charlotte.bell wrote: Hi, I have spatially autocorrelated data (with a binary response variable and continuous predictor variables). I believe I need to do an autologistic model, does anyone know a method for doing this in R? Many thanks C Bell

Re: [R] troubles performing Moran.I test

2009-01-08 Thread Roger Bivand
on your problem, possibly more than the authority you cite, including a link to the R-sig-geo list. Roger Bivand many thanks in advance!! Barbara __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read

Re: [R] maptools, sunriset, POSIX timezones

2009-01-20 Thread Roger Bivand
this is a simple example of a real problem. Roger Bivand I'm using windows Vista and R 2.8.1 Thanks, Phil Taylor ptaylor at resalliance.org __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read

Re: [R] Map of UK Counties - to use in R

2009-08-12 Thread Roger Bivand
* boundaries that suit your counties - which are not presently well-defined because of boundary and administrative changes. The GISCO shapefile is in geographical coordinates, so you'll be able to overplot points by longitude and latitude. Hope this helps, Roger Bivand Raoul wrote: Hi, Can

Re: [R] Map of UK Counties - to use in R

2009-08-13 Thread Roger Bivand
how I can plot data from a csv file onto the map. I really appreciate your assistance! Regards, Raoul Roger Bivand wrote: The illustration you show is for the so-called traditional or historical counties of England, which may be available somewhere. There are non-georeferenced PNG

Re: [R] R2 for SAR and validation

2009-09-01 Thread Roger Bivand
implementations (GeoDa, Matlab spatial econometrics toolbox). It is not obvious what you mean by validate in this context. Roger Bivand saniye keser wrote: Hi everyone, How can i obtain R2 for SAR model? and how can i validate the results, can i use the coefficients directly in a simple formula

Re: [R] map2poly - map lat/long cannot be unconstrained?

2010-03-16 Thread Roger Bivand
://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. - Roger Bivand Economic Geography Section Department of Economics Norwegian School of Economics and Business Administration Helleveien 30 N-5045 Bergen, Norway -- View this message

Re: [R] kriging problem - very urgent

2010-04-08 Thread Roger Bivand
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. - Roger Bivand Economic Geography Section Department of Economics Norwegian School of Economics

[R] [R-pkgs] rgdal 0.7-1 release

2011-07-04 Thread Roger Bivand
all possible use cases, especially erroneous use cases, hence this message. -- Roger Bivand Department of Economics, NHH Norwegian School of Economics, Helleveien 30, N-5045 Bergen, Norway. voice: +47 55 95 93 55; fax +47 55 95 95 43 e-mail: roger.biv...@nhh.no

Re: [R] problem loading rgdal with Rapache, problem solved due to libexpat with apache.

2011-07-07 Thread Roger Bivand
. - Roger Bivand Department of Economics NHH Norwegian School of Economics Helleveien 30 N-5045 Bergen, Norway -- View this message in context: http://r.789695.n4.nabble.com/problem-loading-rgdal-with-Rapache-problem-solved-due-to-libexpat-with-apache-tp3650119p3652639.html Sent from the R help

Re: [R] SpatialPolygonsDataFrame holes problem

2011-07-09 Thread Roger Bivand
for hole at index 2 #Code ends I don't know my way around SpatialPolygonsDataFrame objects very well, and have no idea how to fix the errant hole. Any help greatly appreciated. Thanks Dan Bebber -- Roger Bivand Department of Economics, NHH Norwegian School of Economics, Helleveien 30, N-5045

Re: [R] R code to extract shape polygons for any state for loading into Geobugs

2011-07-16 Thread Roger Bivand
list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. - Roger Bivand Department of Economics NHH Norwegian School of Economics Helleveien 30 N-5045

Re: [R] Subsetting NaN values in localG()

2011-07-16 Thread Roger Bivand
fairly easily. - Roger Bivand Department of Economics NHH Norwegian School of Economics Helleveien 30 N-5045 Bergen, Norway -- View this message in context: http://r.789695.n4.nabble.com/Subsetting-NaN-values-in-localG-tp3662781p3672287.html Sent from the R help mailing list archive

Re: [R] [R-sig-Geo] Problem with read.shape in maptools

2011-07-23 Thread Roger Bivand
-...@r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-geo -- Roger Bivand Department of Economics, NHH Norwegian School of Economics, Helleveien 30, N-5045 Bergen, Norway. voice: +47 55 95 93 55; fax +47 55 95 95 43 e-mail: roger.biv...@nhh.no

Re: [R] SPDEP Package, neighbours list for Moran's I on large grid dataset

2011-04-20 Thread Roger Bivand
guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. - Roger Bivand Economic Geography Section Department of Economics Norwegian School of Economics and Business Administration Helleveien 30 N-5045 Bergen, Norway -- View

Re: [R] Problem installing package sp in R 2.13.0

2011-04-29 Thread Roger Bivand
]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. - Roger Bivand Economic Geography Section

Re: [R] Instrumental variable quantile estimation of spatial autoregressive models

2011-05-05 Thread Roger Bivand
, reproducible code. - Roger Bivand Economic Geography Section Department of Economics Norwegian School of Economics and Business Administration Helleveien 30 N-5045 Bergen, Norway -- View this message in context: http://r.789695.n4.nabble.com/Instrumental-variable-quantile-estimation

Re: [R] STAR Spatio Temporal AutoRegressive models

2012-04-05 Thread Roger Bivand
vasilis vasilis.dakos at gmail.com writes: Hi there, do you know if there is a package that fits spatio temporal autoregressive models in R? If by spatio temporal autoregressive models, you mean spatial panel models, please see the splm package on R-Forge:

Re: [R] How can I change the longitude scale on the plotMap() PBSmapping package

2010-12-08 Thread Roger Bivand
:(_)))( `·.¸¸.·´¯`·.¸.· _:(_ __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. - Roger Bivand

Re: [R] Using Lagsarlm

2010-12-10 Thread Roger Bivand
this? __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. - Roger Bivand Economic Geography Section Department

Re: [R] spatial clusters

2010-12-14 Thread Roger Bivand
__ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. - Roger Bivand Economic Geography Section Department

Re: [R] Drawing Maps of detailed Australian regions

2010-12-14 Thread Roger Bivand
-guide.html and provide commented, minimal, self-contained, reproducible code. - Roger Bivand Economic Geography Section Department of Economics Norwegian School of Economics and Business Administration Helleveien 30 N-5045 Bergen, Norway -- View this message in context: http://r.789695

Re: [R] update.views(Spatial) does not seem to be able to find RPyGeo package

2011-01-05 Thread Roger Bivand
code. - Roger Bivand Economic Geography Section Department of Economics Norwegian School of Economics and Business Administration Helleveien 30 N-5045 Bergen, Norway -- View this message in context: http://r.789695.n4.nabble.com/update-views-Spatial-does-not-seem-to-be-able-to-find-RPyGeo

Re: [R] SpatialLines

2011-10-27 Thread Roger Bivand
Mark Newcomb newc1.mac at me.com writes: I'm hoping to use R for spatial analysis. In working through examples in Chapt. 4 of Applied Spatial Data Analysis with R I've come across the following error in trying to plot lines with the meuse data set. The text is verbatim from the book. This

Re: [R] Spatial Statistics using R

2011-11-17 Thread Roger Bivand
vioravis vioravis at gmail.com writes: Thanks, Raphael. Just checked their website. It appears that they currently do not have any online courses planned. You may find that this site: http://geostat-course.org/ has a wider range of possible courses.

Re: [R] Suggested alternative to rgdal for Mac for making bubble plots with R 2.14?

2011-11-23 Thread Roger Bivand
Jason Rupert jasonkrupert at yahoo.com writes: I'm new to making bubble plots with R, so I was going to try the following: https://stat.ethz.ch/pipermail/r-sig-geo/2009-August/006258.html Unfortunately, it looks like rgdal is not part of 2.14.  I'm not sure if it was the mirror I selected

Re: [R] Problems with Raster and clim.pact packages with large netcdf files (2.7G) in x64 bit R

2011-11-30 Thread Roger Bivand
Emmanuel Jjunju ejjunju at gmail.com writes: I normally use the raster or clim.pact pckages to read netcdf (.nc) files. This has always worked out for me until this weekend every time i try to read a .nc file i get the following error ... Could you please: 1. Consider moving this thread

Re: [R] side-by-side map with different geographies using spplot

2011-12-03 Thread Roger Bivand
David Epstein davideps at umich.edu writes: Hello, I want to create side-by-side maps of similar attribute data in two different cities using a single legend. To simply display side-by-side census block group boundary (non-thematic) maps for Minneapolis Cleveland I do the following:

  1   2   >