Open courtiol opened 5 years ago
library(rasterVis)
levelplot(ElevWestPal, margin = FALSE) +
layer(sp.polygons(CountryBorders, col = "white")) +
layer(sp.polygons(OceanMask, fill = "cyan")) +
xyplot(gnip_aggr_isorix$lat ~ gnip_aggr_isorix$long, col = "pink")
Working with Marco shows that the code above does not work without the library(). I must fix that...
For reexporting the plotting function for the SpatialPolyongs, note that sp:::plot.SpatialPolygons
is no exported so, I may have to declare my own method plot.SpatialPolygons
that would call plot()
.
I am also no longer 100% confident that reexporting all kinds of functions and methods is a good idea.
If you do think this issue matters to you, please add a thumb up!
Let us reexport all functions needed to compile the IsoriX presentation of the summer school (soon on GitHub) so that it is no longer necessary to load some extra packages. One difficulty will be the plotting function for SpatialPolygons...