| 1 |
\name{meuse.riv} |
| 2 |
\alias{meuse.riv} |
| 3 |
\alias{meuse.area} |
| 4 |
\docType{data} |
| 5 |
\title{ River Meuse outline } |
| 6 |
\usage{data(meuse.riv) |
| 7 |
data(meuse.area)} |
| 8 |
\description{ |
| 9 |
The \code{meuse.riv} data consists of an outline of the Meuse |
| 10 |
river in the area a few kilometers around the \link{meuse} |
| 11 |
data set. |
| 12 |
|
| 13 |
The \code{meuse.area} polygon has an outline of \link{meuse.grid}. See |
| 14 |
example below how it can be created from \link{meuse.grid}. |
| 15 |
} |
| 16 |
\format{ |
| 17 |
\code{meuse.riv}: two-column data.frame containing 176 coordinates. |
| 18 |
|
| 19 |
\code{meuse.area}: two-column matrix with coordinates of outline. |
| 20 |
} |
| 21 |
\details{ |
| 22 |
\code{x} and \code{y} are in RDM, the Dutch topographical map |
| 23 |
coordinate system. See examples of \code{spTransform} for projection parameters. |
| 24 |
} |
| 25 |
\references{ |
| 26 |
See the \link{meuse} documentation |
| 27 |
} |
| 28 |
\examples{ |
| 29 |
data(meuse.riv) |
| 30 |
plot(meuse.riv, type = "l", asp = 1) |
| 31 |
data(meuse.grid) |
| 32 |
coordinates(meuse.grid) = c("x", "y") |
| 33 |
gridded(meuse.grid) = TRUE |
| 34 |
image(meuse.grid, "dist", add = TRUE) |
| 35 |
data(meuse) |
| 36 |
coordinates(meuse) = c("x", "y") |
| 37 |
meuse.sr = SpatialPolygons(list(Polygons(list(Polygon(meuse.riv)),"meuse.riv"))) |
| 38 |
spplot(meuse.grid, col.regions=bpy.colors(), main = "meuse.grid", |
| 39 |
sp.layout=list( |
| 40 |
list("sp.polygons", meuse.sr), |
| 41 |
list("sp.points", meuse, pch="+", col="black") |
| 42 |
) |
| 43 |
) |
| 44 |
spplot(meuse, "zinc", col.regions=bpy.colors(), main = "zinc, ppm", |
| 45 |
cuts = c(100,200,400,700,1200,2000), key.space = "right", |
| 46 |
sp.layout= list("sp.polygons", meuse.sr, fill = "lightblue") |
| 47 |
) |
| 48 |
|
| 49 |
|
| 50 |
} |
| 51 |
\keyword{datasets} |