[R-sig-Geo] Species distribution modeling with presence-only data using log-Gaussian Cox process

2021-02-10 Thread Adrian Baddeley
Manuel_Spinola writes: > I would like to know of any R package that can be used for modeling species > distribution with presence-only data using log-Gaussian Cox process. The 'spatstat' package fits these models using the function 'kppm' Example: fit <- kppm(X ~ terms, clusters="LGC

Re: [R-sig-Geo] Species distribution modeling with presence-only data using log-Gaussian Cox process

2021-02-10 Thread Rolf Turner
On Wed, 10 Feb 2021 16:40:50 + Barry Rowlingson wrote: > Before messing with lgcp I'd look at spatstat - lgcp is more intended > for relative risk calculations where you have "cases" and "controls", > and also for > space-time data. > > spatstat seems to have functions for fitting (and sim

Re: [R-sig-Geo] Species distribution modeling with presence-only data using log-Gaussian Cox process

2021-02-10 Thread Barry Rowlingson
Before messing with lgcp I'd look at spatstat - lgcp is more intended for relative risk calculations where you have "cases" and "controls", and also for space-time data. spatstat seems to have functions for fitting (and simulating) LGCPs to point patterns so I think that might be what you are afte

Re: [R-sig-Geo] Coordinates tolerance ERROR

2021-02-10 Thread Bede-Fazekas Ákos
Hello Gafarou, (as I answered your question previously in max...@googlegroups.com...) the error message means that the points stored in Locations.csv are not in a regular grid, i.e., the distances between them are not the same. Although you can increase the tolerance parameter to eliminate the

[R-sig-Geo] Coordinates tolerance ERROR

2021-02-10 Thread Gafarou AGOUNDE
Hi, I am facing this error when running this code bellow; suggested tolerance minimum: 0.662921 Error in points2grid(points, tolerance, round) : dimension 1: coordinate intervals are not constant What does this error mean and how to fix it? In fact, the Locations.csv file contains just two colu