Hi,
I was going to post a similar question as I am also a fresh new user of R.
In my case I have between 10 million and 20 million latitude,
longitude pairs and want to get an image in which each pixel has a
color that is a function of the amount of positions that would fall
into the spatial bin
On 30.01.2009, at 07:47, Edzer Pebesma wrote:
Jim Burke wrote:
OK I am on decaf coffee now. I reinstalled R and
all is well now.
Now Hans, below is what I get when I run your code.
Is this expected? Quick and certainly DIRTY.
> library("maptools")
Loading required package: foreign
> load(url
Hello List,
I hope to extract the Moran's I values using moran.test{spdep} to manually plot
a correlogram. However calling the value $estimate produces not just the
Moran's I, but also its expectation and variance under method assumption. Is
there a way I can extract just the Moran's I so that I c
Jim Burke wrote:
OK I am on decaf coffee now. I reinstalled R and
all is well now.
Now Hans, below is what I get when I run your code.
Is this expected? Quick and certainly DIRTY.
> library("maptools")
Loading required package: foreign
>
load(url("http://spatial.nhh.no/R/etc/TM_WORLD_BORDERS
Hi r-sig-geo team,
I am a new user of R 2.8.1 in windows 2003. I have a data set of football
ball pattern data. The data is for multiple matches. The variables are :
match: The code number of the match.
period: First half or second half denotted by 1 or 2.
pitchX: The x co-ordinate of the field.
Thanks Robert,
PolygonsToRaster may be a way, but I only want to transfer onto the raster
where the raster is not NA (ie a subset of the polygon area). So what I would
need is a why to exclude all polygon parts where the raster is NA.
In theory I could do the whole transfer and than stamp out a
Hi Edzer,
I didn't expect R to do magic (although it does it better than most prgs). What
surprised me was that under Linux there was no use of swap space - I hoped
memory handling would be including swap space.
Cheers
Herry
-Original Message-
From: Edzer Pebesma [mailto:edzer.pebe
OK I am on decaf coffee now. I reinstalled R and
all is well now.
Now Hans, below is what I get when I run your code.
Is this expected? Quick and certainly DIRTY.
> library("maptools")
Loading required package: foreign
> load(url("http://spatial.nhh.no/R/etc/TM_WORLD_BORDERS_SIMPL-0.2.RData";))
Thanks Hans,
Its been a day or so since I have used R graphics.
Now sp seems to lack grid. I cannot run my tried and
true graphics workspace at all.
Are you folks having any trouble? What am I doing
wrong?
Below
1. try to load library sp. No go.
2. download sp from Berkeley (US1). Different erro
On 29.01.2009, at 16:49, Jonathan Callahan wrote:
Is anyone aware of an even more simplified version of the data that
went
into creating TM_WORLD_BORDERS_SIMPL-0.2.RData so that we might have
TM_WORLD_BORDERS_LOWRES.RData for use cases like my own.
A very quick solution would be to filter out
Maxime,
> It doesn't help, it does! Many thanks!
> Do you know if there is a way to label contour using contourLines(), or,
> alternatively, to specify the type of line? Unfortunately,
> drawlabels=TRUE or lty=n don't work.
For that, you can check the example here:
http://www.asdar-book.org/c
Hi,
I am currently using the R maps package in an on-line visualization tool:
http://mazamascience.com/OilExport/
Because of the lack of post-Soviet borders, I am currently investigating
replacing the maps package with Roger Bivand's examples using
TM_WORLD_BORDERS_SIMPL-0.2.RData:
http://spati
On Fri, 30 Jan 2009, Xingli Giam wrote:
Dear Roger,
So what you trying to say about correlog{ncf} is that after the bands
are computed, all the correlations between data points whose distance
are within the bin are computed. So I suppose it is a binary kind of
specification, if pairwise dist
Dear Roger,
So what you trying to say about correlog{ncf} is that after the bands are
computed, all the correlations between data points whose distance are within
the bin are computed. So I suppose it is a binary kind of specification, if
pairwise distances are in the bin, the correlations will be
On Thu, 29 Jan 2009, Hans-Jörg Bibiko wrote:
On 29.01.2009, at 13:08, Roger Bivand wrote:
Set the pbg= argument to set the "bg" (background) to something other than
"transparent" - if it is transparent, the previously plotted larger and
encompassing polygon is still visible. I'm afraid that
On 29.01.2009, at 13:08, Roger Bivand wrote:
Set the pbg= argument to set the "bg" (background) to something
other than "transparent" - if it is transparent, the previously
plotted larger and encompassing polygon is still visible. I'm afraid
that the documentation, which should be in ?"Spa
On Thu, 29 Jan 2009, Hans-Jörg Bibiko wrote:
Hi,
I'm just preparing a SpatialPolygonsDataFrame for ISO3 = "PSE" which is
missing in TM_BORDERS data.
I have three polygons: p1 p2 p3 whereby p2 is a hole inside of p1.
Then I did this:
P1 <- Polygon(p1)
P2 <- Polygon(p2)
P3 <- Polygon(p3)
ps
On Thu, 29 Jan 2009, Xingli Giam wrote:
Hello List,
I have been bothered by this problem for the entire day, hope someone
can give me a hand here. Thanks in advance for reading! It could be
really simple and basic so hope you guys bear with it.
We often plot Moran's I spatial correlograms t
Hi,
I'm just preparing a SpatialPolygonsDataFrame for ISO3 = "PSE" which
is missing in TM_BORDERS data.
I have three polygons: p1 p2 p3 whereby p2 is a hole inside of p1.
Then I did this:
P1 <- Polygon(p1)
P2 <- Polygon(p2)
P3 <- Polygon(p3)
pse <- list(P1,P2,P3)
pseP <- checkPolygonsHoles
Hello List,
I have been bothered by this problem for the entire day, hope someone can give
me a hand here. Thanks in advance for reading! It could be really simple and
basic so hope you guys bear with it.
We often plot Moran's I spatial correlograms that contrast glm residuals and
spatial model r
Hello List,
I have been bothered by this problem for the entire day, hope someone can give
me a hand here. Thanks in advance for reading! It could be really simple and
basic so hope you guys bear with it.
We often plot Moran's I spatial correlograms that contrast glm residuals and
spatial model r
On Thu, 29 Jan 2009, Robert Hijmans wrote:
Herry,
This is how you can do it in package{raster}. (revision 209; a build
should be available within 24 hours).
Following Edzer's example:
require(raster)
library(maptools)
# read a SpatialPolygonsDataFrame
nc <- readShapePoly(system.file("shapes/
Herry,
This is how you can do it in package{raster}. (revision 209; a build
should be available within 24 hours).
Following Edzer's example:
require(raster)
library(maptools)
# read a SpatialPolygonsDataFrame
nc <- readShapePoly(system.file("shapes/sids.shp",
package="maptools")[1], proj4
23 matches
Mail list logo