Learn R Programming

sphet (version 1.5)

circular: Generate "circular" weighting matrices

Description

The function generates k-ahead and k-behind weighting matrices as in Kelejian and Prucha (1999)

Usage

circular(nrow, ncol, ab)

Arguments

Value

An object of class nb.

Examples

Run this code
ab.4<-circular(10, 10, 3)

Run the code above in your browser using DataLab