xyplot.evgram {gear} | R Documentation |
Plot evgram
object
Description
Plots evgram
object produced by the
evgram
function using the
xyplot
function. Note: the
lattice
package must be loaded (i.e.,
library(lattice)
or lattice::xyplot
must be specifically called for this function to work.
See Examples.
Usage
xyplot.evgram(x, ..., split = FALSE)
Arguments
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. |
Author(s)
Joshua French
See Also
Examples
data(co)
v = evgram(Al ~ 1, co, ~ easting + northing)
if (requireNamespace("lattice")) {
lattice::xyplot(v)
}
v2 = evgram(Al ~ 1, co, ~ easting + northing, angle = 22.5, ndir = 4)
if (requireNamespace("lattice")) {
lattice::xyplot(v2)
# show how attributes can be changed using different
# arguments available in lattice::xyplot.
lattice::xyplot(v2, col = 2:5)
lattice::xyplot(v2, col = 2:5, pch = 1:4)
lattice::xyplot(v2, col = 2:5, pch = 1:4, lty = 2:5, type = "b")
lattice::xyplot(v2, col = 2:5, pch = 1:4, lty = 2:5, type = "b",
key=list(text=list(levels(as.factor(v2$semi$angle))),
space='right', points=list(pch=1:4, col=2:5),
lines=list(col=2:5, lty = 2:5)))
lattice::xyplot(v2, split = TRUE)
}
[Package gear version 0.3.4 Index]