I have created a SpatialPoints object, converted it to a ppp object, and
then run spatialstat's density function create a density object. I can use
the png function to make a density plot. I would like the density plot to
be transparent so that I can include it as a layer on a map. Is there any
I'm trying to access some data that I've stored in PostGIS database using
the package RPostgreSQL. When I tried to load the package
> library(RPostgreSQL)
Error in inDL(x, as.logical(local), as.logical(now), ...) :
unable to load shared library
'c:/Users/eick/Docum
The function spDistsN1 is pretty handy for finding the distance between a
point and a set of other points taking into account projections.
Are there any similar functions from finding the distance from a point to
SpatialLines? What about functions to calculate the closest distance
between Spat
Are there any easy function to parse WKT and convert it into a sp object?
E.g. to parse
"MULTILINESTRING((-88.06354 41.80337,-88.06415 41.80297,-88.06447
41.80288,-88.06566 41.80275,-88.06586 41.80277,-88.06596 41.80284,-88.06598
41.8029,-88.06592 41.80433,-88.06592 41.80449,-88.06598 41.8047
n")
else cat("height does not exist\n")
}
foo <- function() { height <- 3; simple() }
foo() # height exists
On Sun, Apr 18, 2010 at 8:27 PM, Stephen G. Eick wrote:
> simple<-function() {
>
> if(exists("height"))
>
> cat("heigh
not find the "height" variable
when I run it?
Is there an easy way to make R use scoping rules like python where it
searches over all frames to find the value of an symbol?
Thanks, Steve Eick
[[alternative HTML version deleted]]
__