planarMap | R Documentation |
a mapping function that uses levelplot to plot data in planar coordinates
planarMap(
xyz,
depths = T,
pts = NULL,
colpts = F,
annot = NULL,
annot.cex = 2.2,
scalebar = T,
projection = "utm20",
col.regions = T,
datascale = seq(0, 1, l = 50),
at = datascale,
fn = paste("map", trunc(runif(1) * 1e+08), sep = ""),
loc = tempdir(),
corners = NULL,
rez = c(1, 1),
save = F,
pt.cex = 0.5,
pt.pch = 16,
pt.col = "black",
colorkey = NULL,
fill = T,
log.variable = F,
interpolation = F,
add.zeros = F,
theta = 50,
rev = F,
...
)
xyz |
data to be plotted |
depths |
= undocumented |
pts |
data points to be overlayed on the map |
colpts |
= undocumented |
annot |
= undocumented |
annot.cex |
= undocumented |
scalebar |
= undocumented |
projection |
to be used, see: lookup.projection.params |
col.regions |
= undocumented |
datascale |
for legend that describes the z variable |
at |
= undocumented |
fn |
= undocumented |
loc |
= undocumented |
corners |
2x2 dataframe that specify the corners of the map i.e. corners = data.frame(lon=c(-67.54,-56.5),lat=c(41,47.2)) |
rez |
= undocumented |
save |
logical TRUE saves the map as a .png, FALSE prints to screen |
pt.cex |
= undocumented |
pt.pch |
= undocumented |
pt.col |
= undocumented |
colorkey |
= undocumented |
fill |
= undocumented |
log.variable |
= undocumented |
interpolation |
logical, does thin plate spline interpolation of the z variable and plots the result |
add.zeros |
uses zeroInflate() to add zeros where there is no data before the interpolation (assumes zero outside the sampled area) |
theta |
interpolation parameter |
rev |
= undocumented |
... |
= undocumented |
Brad Hubley (mostly copied from Jae Choi's bio.spacetime::map)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.