# Rogers suggestion was
library(RColorBrewer)
bl5 <- brewer.pal(5, "Blues")
mypal <- colorRampPalette(bl5)
# but he was saying any method of getting a list of colours is OK
rev(mypal(256))
rainbow(256)
colorRampPalette(c("lightblue","navy"))(256)
# then your example
library(spatstat)
I might be having finger problems, but I have been unable to get R to
overlay coloured hatching on one of my plots.
This code replicates my problem which I would have thought would have
given me vertical yellow lines.
require(maptools)
require(classInt)
columbus <- readShapePoly(system.file("etc/
Yes there is more than one. I can't remember when I made the decision but I
recall doing some speed tests and I picked inside.owin in the spatstat package.
I think splancs and spatial might have their own versions as well. The overlay
function in sp works. I think I found this too slow for what
I am beginning to get a little bit bog eyed with the myriad of options there
are within the various spatial packages. I am trying to find ways of porting
the results I get within R into a GIS environment and I can't seem to see
anything that would let me write a jpeg file with an appropriate wor
I'm sure Roger or someone will come up with exactly what is going on. A couple
of weeks ago I had some problems with spproj. I can't recall all the things
that I did but it seemed to be associated with me installing 2.3. I noted that
when I tried to update my packages that the sp repository didn
I didn't know how to do this offhand, but a little research soon found a way.
So I think you need to search the existing resources before asking your
question as my basic search from R
>RSiteSearch("esri grid")
returned write.asciigrid as the first response. Since I routinely read
shapefiles