Usage
plot(object, smooth, showModel, sigma, span, xlab, ylab, type, ylim, ...)
Arguments
object
an object inheriting from class Variogram
,
consisting of a data frame with two columns named variog
and
dist
, representing the semi-variogram values and the corresponding
distances.
smooth
an optional logical value controlling whether a
loess
smoother should be added to the plot. Defaults to
TRUE
, when showModel
is FALSE
.
showModel
an optional logical value controlling whether the
semi-variogram corresponding to an "modelVariog"
attribute of
object
, if any is present, should be added to the
plot. Defaults to TRUE
, when the "model
sigma
an optional numeric value used as the height of a
horizontal line displayed in the plot. Can be used to represent the
process standard deviation. Default is NULL
, implying that no
horizontal line is drawn.
span
an optional numeric value with the smoothing parameter for
the loess
fit. Default is 0.6.
xlab,ylab
optional character strings with the x- and y-axis
labels. Default respectively to "Distance"
and
"SemiVariogram"
.
type
an optional character indicating the type of plot. Defaults
to "p"
.
ylim
an optional numeric vector with the limits for the
y-axis. Defaults to c(0, max(object$variog))
.
...
optional arguments passed to the Trellis xyplot
function.