My wrapper to the lattice function levelplot. Allows for some own color schemes The parameter focus specifies at which z range stronger color changes shall appear
1 2 3 4 5 | sk.levelplot(x = NULL, y = NULL, z = NULL, xnames = NULL,
ynames = NULL, grid.xyz = NULL, col.scheme = "darkredgreen",
na.col = NULL, at = NULL, at.scheme = "interval", focus = 0,
cuts = 15, col.regions = NULL, xlab = NULL, ylab = NULL,
panel = panel.levelplot, zlim = NULL, reverse.colors = FALSE, ...)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.