Re: [R-sig-Geo] package to query Google for latitude and longitude for a given ZIP code

2011-03-09 Thread Jim Lemon
On 03/09/2011 04:23 AM, Andrew Yee wrote: Hi Andrew, You can get an approximate longitude/latitude for any point on: http://www.getlatlon.com/ and it doesn't look like there are any restrictions on use. Jim ___ R-sig-Geo mailing list

[R-sig-Geo] spatial clustering - land usage - skater?

2011-03-09 Thread Mathieu Rajerison
Hi R-user, I'm new to R and have bought the asdar book which is a great book for me as I discover a world of geostatisctis that seems infinite and fascinating. Excuse me in advance for my english -- I've got a dataset of points that covers a city Each point takes 4 values corresponding to

Re: [R-sig-Geo] R-sig-Geo Digest, Vol 91, Issue 8

2011-03-09 Thread David Méndez
Enviado desde mi HTC - Mensaje original - De: r-sig-geo-requ...@r-project.org Enviado: Martes, 08 de Marzo de 2011 06:30 Para: r-sig-geo@r-project.org Asunto: R-sig-Geo Digest, Vol 91, Issue 8 Send R-sig-Geo mailing list submissions to r-sig-geo@r-project.org To subscribe or

[R-sig-Geo] shp to svg

2011-03-09 Thread Marc Marí Dell'Olmo
Dear all, I would like to convert a map in shp (shapefile arcview format) format to a svg format with R. Does anyone know how? Thank you very much, Marc ___ R-sig-Geo mailing list R-sig-Geo@r-project.org

Re: [R-sig-Geo] spatial clustering - land usage - skater?

2011-03-09 Thread Georg Ruß
On 09/03/11 10:40:00, Mathieu Rajerison wrote: I've got a dataset of points that covers a city Okay, is that a spatial points data frame? Each point takes 4 values corresponding to area of land usage. The first one is for ground, the second is built, the third is wood, the fourth water. Here

Re: [R-sig-Geo] shp to svg

2011-03-09 Thread Marc Marí Dell'Olmo
Thank you for your help! I have used the following sintax: map -readShapePoly(...) CairoSVG(file = newmap.svg, width = 12, height = 12, onefile = TRUE, bg = transparent) plot(map, lwd=0.1) dev.off() and it works perfectly. Regards, Marc 2011/3/9 Georg Ruß resea...@georgruss.de: On 09/03/11

[R-sig-Geo] Help to eliminate duplicated from data.frame but Special Problem

2011-03-09 Thread gianni lavaredo
Dear Reseacher, i need to resolve the following problem. I wish to delete duplicate row from a data.frame but not all duplicate row: ex: my.df - data.frame(Id=c(1,2,3,4,5,5,6,7,8,8,8,9), value1=c(10,20,30,40,50,50,60,70,80,80,81,90), value2=c(100,200,300,400,500,500,600,700,800,800,799,900))

Re: [R-sig-Geo] Help to eliminate duplicated from data.frame but Special Problem

2011-03-09 Thread Sarah Goslee
So you want to look at all rows, not just the index? Then specify that: my.df[!duplicated(my.df),] Id value1 value2 1 1 10100 2 2 20200 3 3 30300 4 4 40400 5 5 50500 7 6 60600 8 7 70700 9 8 80800 11 8 81

Re: [R-sig-Geo] Help to eliminate duplicated from data.frame but Special Problem

2011-03-09 Thread Georg Ruß
On 09/03/11 15:42:40, gianni lavaredo wrote: Dear Reseacher, i need to resolve the following problem. I wish to delete duplicate row from a data.frame but not all duplicate row: ex: my.df - data.frame(Id=c(1,2,3,4,5,5,6,7,8,8,8,9), value1=c(10,20,30,40,50,50,60,70,80,80,81,90),

[R-sig-Geo] Is there a function for comparing a modeled timeseries to the measured one?

2011-03-09 Thread Jan Hackenberg
Dear R - Users I have 2 timeseries, one measured and one is modeled. The only function to compare them i know is cor(model,measured). Is there perhaps another function to produce the r squared, to prove that my model is well fit? Thanks for your time Jan [[alternative HTML version

Re: [R-sig-Geo] Is there a function for comparing a modeled timeseries to the measured one?

2011-03-09 Thread Aman Verma
Hi Jan, In general, R-squared can be calculated as the square of the correlation coefficient. However, read here to understand what R-squared means in this case: http://en.wikipedia.org/wiki/R-squared#As_squared_correlation_coefficient aman -Original Message- From:

[R-sig-Geo] Variable window on a raster

2011-03-09 Thread Etienne Bellemare
Hi list, I'd like to vary the size of my window on a moving window filter. The size of the radius is set by a function of the center pixel (the current pixel processed). I picked the raster package, but as focal() is using a fix radius for the analysis, I thought I could use a large radius and

[R-sig-Geo] predicting values from variofit function

2011-03-09 Thread Anna Gretschel
Dear List, I have fitted a spherical function to my variogram using variofit(...) from GeoR. Now I would like to predict some data with the function predict(object,...) from package stats. Does anyone know wether this works and if it does how to do it? Thanks a lot! Anna

[R-sig-Geo] Standardizing Moran's I

2011-03-09 Thread Giancarlo Sadoti
Greeting list members, I'm analyzing the global spatial autocorrelation of a continuous vegetation attribute (MSH) among multiple (15-30) plots (secondary sampling units) across 76 sites (primary sampling units). I've used the Moran's I permutation test (moran.mc) in the spdep package to do

Re: [R-sig-Geo] predicting values from variofit function

2011-03-09 Thread Tom Gottfried
Hi Anna, Am 09.03.2011 21:25, schrieb Anna Gretschel: Dear List, I have fitted a spherical function to my variogram using variofit(...) from GeoR. Now I would like to predict some data with the function predict(object,...) from package stats. Note that predict() is a generic function (see

[R-sig-Geo] long 0-360, shift to -180 to 180

2011-03-09 Thread Andy Bunn
I have a raster with longitude data over 0 to 360. bar - raster(t(foo[,,1]),xmn=0,xmx=356.25,ymn=-87.159094555863,ymx=87.159094555863, crs=+proj=longlat +datum=WGS84) I'd like to shift those longitudes to -180 to 180. I tried paying with the +long_wrap argument to crs but to no