plot.covariogram: Plot Empirical Covariogram

Description Usage Arguments Details Value Author(s) See Also Examples

Description

Plots sample (empirical) covariogram computed using the function covariog.

Usage

1
2
3
## S3 method for class 'covariogram'
plot(x, max.dist = max(x$u), ylim = "default", type = "b",
     envelope.obj = NULL, ...)

Arguments

x

an object of the class "covariogram", typically an output of the function covariog.

max.dist

maximum distance for the x-axis. The default is the maximum distance for which the sample covariogram was computed.

ylim

limits for the covariogram values in the y-axis. The default is from the minimum to the maximum value in x$v.

type

type of line for the empirical covariogram. The default is "b" (dots and lines). For further details see documentation for lines.

envelope.obj

adds a covariogram envelope computed by the function covariog.model.env.

...

other arguments to be passed to the function plot.

Details

This function allows visualisation of the empirical covariogram. Together with lines.covariomodel it can be used to compare theoretical covariogram models against the empirical covariogram.

Value

Produces a plot with the sample covariogram on the current graphics device. No values are returned.

Author(s)

Ole F. Christensen OleF.Christensen@agrsci.dk,
Paulo J. Ribeiro Jr. Paulo.Ribeiro@est.ufpr.br.

See Also

covariog for covariogram calculations, lines.covariomodel for adding lines to the current plot, covariog.model.env for computation of covariogram envelopes, and plot for generic plot function.

Examples

1
2
3
data(p50)
covario <- covariog(p50, uvec = c(1:10))  # sample covariogram
plot(covario)                      

geoRglm documentation built on May 2, 2019, 4:03 p.m.