On 28/01/14 10:39, Noam Ross wrote:
> I have an application for which I need very fast calculation of the pair
> correlation function between two point types in a marked point pattern.
> I'm attempting to replicate results from spatstat::pcfcross. I wrote a
> quick-and-dirty version of this functi
Robert,
Thank you for your message. First thing, raster package is simply amazing.
I've installed raster v2.2-16.
I've imported the TIF from the dropbox link with
i.l8 <- raster('D:\\Dropbox\\Public\\LC81810682013122LGN01_B2.TIF',
package = "raster")
> i.l8
class : RasterLay
I have an application for which I need very fast calculation of the pair
correlation function between two point types in a marked point pattern.
I'm attempting to replicate results from spatstat::pcfcross. I wrote a
quick-and-dirty version of this function to ensure that I understood it
properly
Barnabas,
In my example the IDs are the same as the rows on the data.frame (row
1 is cell 1, etc). Cells are numbered from left to right and then from
top to bottom. See
http://cran.r-project.org/web/packages/raster/vignettes/Raster.pdf
for more info
If you have merged your species polygons you c
Paulo,
This has been fixed in raster 2.2-16 (development version). You can
install and try it:
install.packages("raster", repos="http://R-Forge.R-project.org";)
Robert
On Fri, Jan 24, 2014 at 7:53 AM, pecardoso wrote:
> Hello all. Thanks for your time.
>
> Robert, True about format, but 'IDRISI
On 01/27/2014 02:13 PM, Agustin Lobo wrote:
> Still doubts regarding the conversion to SpatialPixelsDataFrame-
> I do:
> load("https://dl.dropboxusercontent.com/u/3180464/delme.rda";)
> class(delme)
> delmepx <- SpatialPixelsDataFrame(delme, data=delme@data,
> tolerance=0.000856898)
SpatialPixe
Still doubts regarding the conversion to SpatialPixelsDataFrame-
I do:
load("https://dl.dropboxusercontent.com/u/3180464/delme.rda";)
class(delme)
delmepx <- SpatialPixelsDataFrame(delme, data=delme@data, tolerance=0.000856898)
delmepol <- as(delmepx,"SpatialPolygonsDataFrame")
delmepx2 <- SpatialP
On 01/27/2014 11:40 AM, Mark Payne wrote:
> I won't call this a bug,
Definitely a bug; will look into it -- thanks for reporting!
--
Edzer Pebesma
Institute for Geoinformatics (ifgi), University of Münster
Heisenbergstraße 2, 48149 Münster, Germany. Phone: +49 251
83 33081 http://ifgi.uni-muens
Hi,
I have been playing with the makegrid function, and discovered
something interesting. For example, consider the domain of the meuse
data
> data(meuse)
> coordinates(meuse) <- ~x+y
> bbox(meuse)
minmax
x 178605 181390
y 329714 333611
Now make a grid, and check its domain
> grd <- ma