Learn R Programming

pastecs (version 1.3.21)

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)

Value

A data frame containing distance and semi-variogram values

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

Author

Frédéric Ibanez (ibanez@obs-vlfr.fr), Philippe Grosjean (phgrosjean@sciviews.org)

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