Re: [R-sig-Geo] About R

2011-02-10 Thread Philipp Boersch-Supan
Have a look at ?array its use in comparison to MATLAB's reshape is in fact described in the Hiebeler-matlabR.pdf that Arien mentioned yesterday. If you want to stick to MATLAB-like syntax, the matlab package has a function reshape that should do exactly what you want:

Re: [R-sig-Geo] Universal Kriging with factor covariate

2011-02-10 Thread piero campa
Ok sure. I will hereby simulate the interpolation of a target variable points (whose data is attached) via a single factor predictor classes created randomly over the region of interest: # libraries library(sp) library(gstat) library(automap) # Import the point pattern from the txt file and

Re: [R-sig-Geo] Universal Kriging with factor covariate

2011-02-10 Thread Edzer Pebesma
On 02/10/2011 03:28 PM, piero campa wrote: Ok sure. I will hereby simulate the interpolation of a target variable points (whose data is attached) via a single factor predictor classes created randomly over the region of interest: # libraries library(sp) library(gstat)

Re: [R-sig-Geo] Maptools as.SpatialPolygons.owin() behaves in a strange way ?

2011-02-10 Thread Roger Bivand
On Thu, 10 Feb 2011, Alexandre Villers wrote: Dear list users and maptools mainteners, I'm a bit confused by the behaviour of the function as.SpatialPolygons.owin() library(spatstat) library(maptools) disc.test-disc(radius=1, centre=c(0,0)) disc.sp-as.SpatialPolygons.owin(disc.test) # --

Re: [R-sig-Geo] Using BA to estimate home range overlap

2011-02-10 Thread Katie Vivienne Stopher
My apologies, this was sent from the wrong address and so did not go the mailing list. Dear Clément, Thanks for your reply. Firstly, I struggled to find you a dataset which shows it, because it seems it's not consistent. For example, for two particular animals, the overlap is 0.8 when just

Re: [R-sig-Geo] Universal Kriging with factor covariate

2011-02-10 Thread piero campa
That's it. Thank you! Piero PS: To let the example work actually before calling krige() you should run this command: names(SPgrid) - CL Moreover the right krige call is the following: pm10.rk - krige(as.formula(lm$call$formula), points, SPgrid, rvar$var_model) -- View this message in context:

Re: [R-sig-Geo] problems with loading geoR and sp

2011-02-10 Thread Roman Luštrik
You are probably running an older version of R. See sessionInfo(). Cheers, Roman On Thu, Feb 10, 2011 at 5:02 PM, Anna Gretschel ana-...@web.de wrote: hey guys, i'm trying to work with CRAN package geoR. I installed it but loading it needs a shared library(sp). So i downloaded sp as well

[R-sig-Geo] Question for point pattern experts

2011-02-10 Thread david depew
Dear list, A brief and (hopefully) simplistic question regarding point pattern analysis. We have compiled a large, continental database of chemical burdens in a model organism. Currently, the data span 40 years and covers the entire country of Canada (including the high arctic). We have

[R-sig-Geo] help tp select points of border with spatstat

2011-02-10 Thread gianni lavaredo
Dear Researchers, I have a points shapefile with wave shape. I wish to select only the border points to create a border owin with the same wave shape. I tryed to use convex.hull but the final shape is not the same. Some researchers have some suggestions? thanks Gianni [[alternative HTML

Re: [R-sig-Geo] Question for point pattern experts

2011-02-10 Thread david depew
Thanks Rolf, I see your point, and I admit that I've waffled a bit on this issue. I'm hesitant to drive down the kriging path (although indicators might be suitable), because there are many known (and unknown) covariates that affect the contaminant burden, and few of these are quantified at the

Re: [R-sig-Geo] Question for point pattern experts

2011-02-10 Thread Rolf Turner
On 11/02/2011, at 10:14 AM, david depew wrote: Thanks Rolf, I see your point, and I admit that I've waffled a bit on this issue. I'm hesitant to drive down the kriging path (although indicators might be suitable), because there are many known (and unknown) covariates that affect the