Re: [R-sig-Geo] R-sig-Geo Digest, Vol 111, Issue 27

2012-11-29 Thread Bill Buckingham
r-sig-geo-requ...@r-project.org wrote: >Send R-sig-Geo mailing list submissions to > r-sig-geo@r-project.org > >To subscribe or unsubscribe via the World Wide Web, visit > https://stat.ethz.ch/mailman/listinfo/r-sig-geo >or, via email, send a message with subject or body 'help' to >

Re: [R-sig-Geo] warning: size of values file does not match the number of cell

2012-11-29 Thread Robert J. Hijmans
Mark, Thanks for the additional info. In the current version (2.0-31) or 'raster' I have have introduced a bug in the (updated and now faster) aggregate function when using the option "expand=FALSE". This has been fixed in version 2.0-35 which will be available from R-Forge in a couple of hours and

[R-sig-Geo] Gibbs Point Process

2012-11-29 Thread Faranak
Does anyone knows what is the aim of using Gibbs marked point process?! I read a paper that used this method to find the best configuration of locations of trees in a forest. But I'm wondering if we know the best configuration what can we do with that (As we cannot change the locations!). Thanks

Re: [R-sig-Geo] calculate CRPS on rasters

2012-11-29 Thread Robert J. Hijmans
Lorenzo, The below (your example) works for me, using the overlay as I suggested. Perhaps you did not load the verification package? Robert library(verification) #includes function crps library(raster) set.seed(1) r <- raster(ncol=10, nrow=10) pred1 <- init(r, fun=runif) pred2 <- init(r, fu

[R-sig-Geo] Problem with update gdistance 1.1-3

2012-11-29 Thread Bastien.Ferland-Raymond
Hello, I want to expose a problem I am now facing with the gdistance package and the geoCorrection() function. I have a code I haven't been using since March, and now, after updating R to 2.15.2 and the package gdistance to 1.1-3 from 1.1-2, the geoCorrection() function doesn't work. It simpl

Re: [R-sig-Geo] calculate CRPS on rasters

2012-11-29 Thread Lorenzo Alfieri
Hi Robert, I was hoping to use the overlay function too, but it seems it doesn't work in this case. See the result: CRPS  <- overlay(obs, pred, fun=function(x,y) crps(x,y)$crps) Error in function (x, fun, filename = "", recycle = TRUE, ...)  :   cannot use this formula, probably because it is

Re: [R-sig-Geo] Adehabitat crashed R on MacOS 2.15.2

2012-11-29 Thread Els Ducheyne
Dear Mathieu and Massimo Yes, that did the trick, installation of the framework solved the issue both on command line as in R GUI Thanks for the help. Could this be added to the documentation of the packages (the same issue occurs with adehabitatHS) Best and thanks again Els On 27 Nov 2012, at