Re: [R-sig-Geo] sarprobit question

2016-04-21 Thread VIRGILIO GOMEZ RUBIO
Hi, > I first thought that this p=103 was the error, however I did the following: > >wnew <-W[-1,] You need to remove one row AND one column to have a 102x102 matrix. In the code above you are just removing one row. I believe that the error is there. But you should check why you W is

Re: [R-sig-Geo] Links to Zika virus paper

2016-04-21 Thread boB Rudis
I will try to handle any other replies off-list to keep the list on-topic, but wanted to reinforce my opine on this topic. My co-author & I believed so strongly in the need to ensure R & R package author work was properly acknowledged that we managed to get Wiley to allow 2 pages of package

Re: [R-sig-Geo] Links to Zika virus paper

2016-04-21 Thread Roman Luštrik
Bob opens up an interesting topic, perhaps not really fit for this mailing list, of which packages to cite. Most packages load dependencies. Should these dependencies be cited? How do you handle this issue in citing packages? Cheers, Roman On Thu, Apr 21, 2016 at 1:29 PM, boB Rudis

Re: [R-sig-Geo] Links to Zika virus paper

2016-04-21 Thread boB Rudis
Agreed it was great to see "Each of the 300 individual models was fitted using the gbm.step subroutine in the dismo package in the R statistical programming environment (Elith et al. 2008)" in there and also agreed that the following should have made it into the citations (assuming only

Re: [R-sig-Geo] spTransform / SpatialPixelsDataFrame

2016-04-21 Thread Roger Bivand
On Thu, 21 Apr 2016, t...@gmx.ch wrote: Hello I would like to reproject a SpatialPixelsDataFrame, changing the CRS. I am trying to use the command "spTransform" from the package "sp". Unfortunately, the command results in a SpatialPointsDataFrame, which is not desired. My

[R-sig-Geo] spTransform / SpatialPixelsDataFrame

2016-04-21 Thread twah
Hello I would like to reproject a SpatialPixelsDataFrame, changing the CRS. I am trying to use the command "spTransform" from the package "sp". Unfortunately, the command results in a SpatialPointsDataFrame, which is not desired. My SpatialPixelsDataFrame has proj4string +init=epsg:21781

Re: [R-sig-Geo] Links to Zika virus paper

2016-04-21 Thread Barry Rowlingson
On Thu, Apr 21, 2016 at 8:19 AM, Roger Bivand wrote: > Why we do what we do: > > Congratulations to Robert Hijmans and others maintaining the dismo package: > > https://cran.r-project.org/web/packages/dismo/index.html > > which is the computational basis for: > >

[R-sig-Geo] sarprobit question

2016-04-21 Thread Jorge Cárcamo
Good day everyone. I have been trying to conduct a Spatial Autoregressive probit model in R. To do so, I added the shapefile (points) that contains all my information into R, and from it I constructed the spatial weighted matrix by specifying k=3 nearest neighbors. tbe <-

[R-sig-Geo] Links to Zika virus paper

2016-04-21 Thread Roger Bivand
Why we do what we do: Congratulations to Robert Hijmans and others maintaining the dismo package: https://cran.r-project.org/web/packages/dismo/index.html which is the computational basis for: http://elifesciences.org/content/5/e15272v1 and reported on in: