Re: [R-sig-Geo] [O/T] pixel question

2012-05-26 Thread Barry Rowlingson
On Sun, May 27, 2012 at 4:42 AM, Hodgess, Erin wrote: > Dear Geo People: > > I tried to look this up on the Internet, but couldn't really find my answer. > > If a satellite has 16 km resolution, how many pixels/megapixels is it using, > please? > A satellite image (as a geoTIFF or jpg or other

Re: [R-sig-Geo] Simultaneous model

2012-05-26 Thread Roman Luštrik
You are probably missing a close bracket. You could try one of developer's environments that can handle code completion, match brackets, code folding and much more. From top of my head, you can try ESS, RStudio and Eclipse + StatET. Cheers, Roman On Sun, May 27, 2012 at 2:08 AM, Saima Bashir w

[R-sig-Geo] [O/T] pixel question

2012-05-26 Thread Hodgess, Erin
Dear Geo People: I tried to look this up on the Internet, but couldn't really find my answer. If a satellite has 16 km resolution, how many pixels/megapixels is it using, please? Thanks, Erin Erin M. Hodgess, PhD Associate Professor Department of Computer and Mathematical Sciences University

[R-sig-Geo] Simultaneous model

2012-05-26 Thread Saima Bashir
Hi, I want to analyze Simultaneous equation mode. I had weight matrix imported from Matlab as read.table. whenever, I type codes and hit enter i get + sign. I have four equations in my model. Can any one please tell if I have problem in codes. Codes are: se <- spsegm(formula, data = pdata, w =

Re: [R-sig-Geo] Making a raster from a shapefile using function rasterize with a categoric field

2012-05-26 Thread Manuel Spínola
Thank you very Mathieu. Best, Manuel 2012/5/24 Mathieu Rajerison > Hi, > > It surely is... > > You could transform lu$COB_AGROP as numeric like this: > lu$COB_AGROP_num <- as.numeric(as.factor(lu$COB_AGROP)) > > lur = rasterize(lu, crr, field = "COB_AGROP_num") > > Best, > > Mathieu > > 2012/

Re: [R-sig-Geo] neighborly ordering of spdf data/spacetime

2012-05-26 Thread Chris English
Robert, Thank you, it performs exactly as desired. Until you shared the extraction notation, I could not have conceived how it might look, but now looks natural: combine the thing itself 5, with neighbors of 5 and their data. I take note of Dr. Pebesma's query as to why I would want to do t