Description Usage Arguments Details Author(s) See Also Examples
Plots evgram
object produced by
evgram
using the
plot
function.
1 2 |
x |
An |
... |
Additional arguments to pass the |
split |
A logical value indicating whether, for a directional semivariogram, the directional semivariograms should be displayed in a single or split panels. Default is FALSE, for a single panel. |
add_legend |
A logical value indicating whether a
legend should be included for a plot of directional
semivariograms when |
args_legend |
A list with arguments for
|
The arguments after ...
are only considered
if a directional semivariogram is provided, i.e.,
when x$ndir != 1
.
split
will split directional semivariograms into
different plots automatically using
autosize
.
add_legend
and args_legend
are only used
for a directional semivariogram when split = FALSE
Joshua French
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | data(co)
# omnidirectional example
v = evgram(Al ~ 1, co, ~ easting + northing)
plot(v)
plot(v, main = "semivariogram of Al")
# directional semivariograms overlaid
v2 = evgram(Al ~ 1, co, ~ easting + northing,
angle = 22.5, ndir = 4)
plot(v2)
plot(v2, ylab = "semi-variance", pch = 2:5, type = "p")
plot(v2, lty = 2:5, type = "l",
args_legend = list(x = "bottomright",
legend = c("22.5", "67.5", "112.5", "157.5")))
# directional semivariograms split
plot(v2, split = TRUE)
plot(v2, split = TRUE, col = 2, pch = 3, type = "b",
main = c("(a)", "(b)", "(c)", "(d)"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.