Learn R Programming

pastecs (version 1.0-2)

vario: Compute and plot a semi-variogram

Description

Compute a classical semi-variogram for a single regular time series

Usage

vario(x, max.dist=length(x)/3, plotit=TRUE, vario.data=NULL)

Arguments

x
a vector or an univariate time series
max.dist
the maximum distance to calculate. By default, it is the third of the number of observations
plotit
If plotit=TRUE then the graph of the semi-variogram is plotted
vario.data
data coming from a previous call to vario(). Call the function again with these data to plot the corresponding graph

Value

  • A data frame containing distance and semi-variogram values

References

David, M., 1977. Developments in geomathematics. Tome 2: Geostatistical or reserve estimation. Elsevier Scientific, Amsterdam. 364 pp. Delhomme, J.P., 1978. Applications de la th�orie des variables r�gionalis�es dans les sciences de l'eau. Bull. BRGM, section 3 n�4:341-375. Matheron, G., 1971. La th�orie des variables r�gionalis�es et ses applications. Cahiers du Centre de Morphologie Math�matique de Fontainebleau. Fasc. 5 ENSMP, Paris. 212 pp.

See Also

disto

Examples

Run this code
data(bnr)
vario(bnr[, 4])

Run the code above in your browser using DataLab