On Wed, 16 Dec 2009, Zia Ahmed wrote:
Thanks Andrews. It works fine. Nothing wrong with sp plot. I need to plot
boundary around of sampling locations. R-script I have written, I used
xyplot and levelplot.
This look like a two-step question, assuming that you need a line
representation of p
On Wed, 16 Dec 2009, Zia Ahmed wrote:
Hi,
I am trying to plot a shape file in R. I can do it easily using plot or
spplot function. But I want plot this map with lattice xyplot function. Any
one has any idea? I do not want use "maps" package.
Help will be appreciated...
Thanks
Zia
lib
Thanks Andrews. It works fine. Nothing wrong with sp plot. I need to
plot boundary around of sampling locations. R-script I have written, I
used xyplot and levelplot.
Thanks again
Zia
Felix Andrews wrote:
What's wrong with using spplot? It is based on xyplot anyway.
If you want to use xy
Hello all,
I have a data frame with lat and lon coordinates for some sample areas
(not a grid) .
I was to create an nb object that I can use with spdep but am unsure as
to how to convert it.
Does anybody have any ideas?
Thanks,
Pete
___
R-sig-
What's wrong with using spplot? It is based on xyplot anyway.
If you want to use xyplot, you can use the panel function that sp defines:
sp.polygons(shp)
You can read in the shapefile with the RGDAL package:
shp <- readOGR(...)
2009/12/17 Zia Ahmed :
> Hi,
>
> I am trying to plot a shape file
Hi,
I am trying to plot a shape file in R. I can do it easily using plot
or spplot function. But I want plot this map with lattice xyplot
function. Any one has any idea? I do not want use "maps" package.
Help will be appreciated...
Thanks
Zia
library(maptools)
library(lattice)
bound<-r