search for: funxy

Displaying 2 results from an estimated 2 matches for "funxy".

Did you mean: funny
2017 Jun 01
0
[spatstat] Convert shapefile to pixel image
...er than "M <- union.owin(windows)" you should use: M <- do.call(union.owin, windows) But that's rather off the track. What I think you should do (it's hard to be certain without a reproducible example) is something like: tw <- tess(tiles=windows) iw <- as.im(funxy(as.function(tw,values=vvv),W=Window(tw)),dimyx=128) where "vvv" is a vector of the values that you wish to associate with the individual polygons. There may be less cryptic ways of accomplishing the same thing, but this is the sexiest way, I think. The value chosen for "dimyx&qu...
2017 Jun 01
3
[spatstat] Convert shapefile to pixel image
Dear all, I am currently working with the spatstat package, using windows and pixel images. First: My aim is to transform a shapefile (see attached) into a pixel image. My idea is to start transforming the shapefile into a Spatial Polygon file: x <- readShapeSpatial("200001441.shp") y <- as(x, "SpatialPolygons") z <- as.owin(y) Given z, I want to identify each