Learn R Programming

synchrony (version 0.3.8)

vario.func: vario.func

Description

Compute the empirical variogram values for each bin

Usage

vario.func (x, y, glob.mean, glob.sd, glob.N, is.multivar = FALSE,
                        type = c("semivar", "cov", "pearson", 
                                 "spearman", "kendall", "moran", "geary"))

Arguments

x

First set of sites within bin/lag distance

y

Second set of sites within bin/lag distance

glob.mean

Global mean

glob.sd

Global standard deviation

glob.N

Global number of points

is.multivar

Is the data multivariate? Default is FALSE

type

Type of variogram to compute. Default is semivar for semivariance. Other options include cov for covariance, pearson for Pearson correlation, spearman for Spearman correlation, kendall for Kendall correlation, moran for Moran's I, and geary for Geary's C

Value

Return the value.

See Also

vario

Examples

Run this code
# NOT RUN {
  # Internal function used by vario
# }

Run the code above in your browser using DataLab