map.to.lev | R Documentation |
rearrange data frame for plotting with levelplot
map.to.lev(data, xcol = 1, ycol = 2, zcol = c(3, 4), ns = names(data)[zcol])
data |
data frame, e.g. output from krige or predict |
xcol |
x-coordinate column number |
ycol |
y-coordinate column number |
zcol |
z-coordinate column number range |
ns |
names of the set of z-columns to be viewed |
data frame with the following elements:
x |
x-coordinate for each row |
y |
y-coordinate for each row |
z |
column vector with each of the elements in columns |
name |
factor; name of each of the stacked |
image.data.frame, krige;
for examples see predict;
levelplot
in package lattice.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.