Learn R Programming

pastecs (version 1.4.2)

disto: Compute and plot a distogram

Description

A distogram is an extension of the variogram to a multivariate time-series. It computes, for each observation (with a constant interval h between each observation), the euclidean distance normated to one (chord distance)

Usage

disto(x, max.dist=nrow(x)/4, plotit=TRUE, disto.data=NULL)

Value

A data frame containing distance and distogram values

Arguments

x

a matrix, a data frame or a multiple time-series

max.dist

the maximum distance to calculate. By default, it is the third of the number of observations (that is, the number of rows in the matrix)

plotit

If plotit=TRUE then the graph of the distogram is plotted

disto.data

data coming from a previous call to disto(). 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

Dauvin, J.C. & F. Ibanez, 1986. Variations à long-terme (1977-1985) du peuplement des sables fins de la Pierre Noire (baie de Morlaix, Manche Occidentale): analyse statistique de l'évolution structurale. Hydrobiologia, 142:171-186.

Ibanez, F. & J.C. Dauvin, 1988. Long-term changes (1977-1987) in a muddy fine sand Abra alba - Melinna palmate community from the Western English Channel: multivariate time-series analysis. Mar. Ecol. Prog. Ser., 49:65-81.

Mackas, D.L., 1984. Spatial autocorrelation of plankton community composition in a continental shelf ecosystem. Limnol. Ecol., 20:451-471.

See Also

vario

Examples

Run this code
data(bnr)
disto(bnr)

Run the code above in your browser using DataLab