Learn R Programming

IDSA (version 2.1)

tau: Spatial dependence parameter.

Description

Spatial dependence parameter.

Usage

tau(y, location)

Arguments

y

A numeric vector of a response variable

location

A matrix of spatial locations

Value

A value of spatial dependence parameter.

Examples

Run this code
# NOT RUN {
tau(y = sim[, 1], location = sim[, 2:3])

# }

Run the code above in your browser using DataLab