meuse.riv                 package:sp                 R Documentation

_R_i_v_e_r _M_e_u_s_e _o_u_t_l_i_n_e

_D_e_s_c_r_i_p_t_i_o_n:

     The 'meuse.riv' data consists of an outline of the Meuse river in
     the area a few kilometers around the meuse data set.

_U_s_a_g_e:

     data(meuse.riv)

_F_o_r_m_a_t:

     This data frame contains a 176 x 2 matrix with coordinates.

_D_e_t_a_i_l_s:

     'x' and 'y' are in RDM, the Dutch topographical map coordinate
     system. See examples of 'transform' in the spproj package for
     projection parameters.

_R_e_f_e_r_e_n_c_e_s:

     See the meuse documentation

_E_x_a_m_p_l_e_s:

     data(meuse.riv)
     plot(meuse.riv, type = "l", asp = 1)
     data(meuse.grid)
     coordinates(meuse.grid) = c("x", "y")
     gridded(meuse.grid) = TRUE
     image(meuse.grid, "dist", add = TRUE)
     data(meuse)
     coordinates(meuse) = c("x", "y")
     meuse.sr = SpatialPolygons(list(Polygons(list(Polygon(meuse.riv)),"meuse.riv")))
     spplot(meuse.grid, col.regions=bpy.colors(), main = "meuse.grid",
       sp.layout=list(
             list("sp.polygon", meuse.sr),
             list("sp.points", meuse, pch="+", col="black")
       )
     )
     spplot(meuse, "zinc", col.regions=bpy.colors(),  main = "zinc, ppm",
       cuts = c(100,200,400,700,1200,2000), key.space = "right",
       sp.layout= list("sp.polygon", meuse.sr, fill = "lightblue")
     )

