calc_mean_neighbor_effect: Calculates the average correlation for the spatial effect

View source: R/calc_mean_neighbor_effect.R

calc_mean_neighbor_effectR Documentation

Calculates the average correlation for the spatial effect

Description

Calculates the average correlation for the spatial effect

Usage

calc_mean_neighbor_effect(matList, beta, delta, adj_positions)

Arguments

matList

list of pairwise and spatial matrices

beta

autocorrelation parameter of the CAR model

delta

linear effect of the CAR model correlation matrix

adj_positions

positions within the adjacency matrix

Value

the average correlation for the spatial effect


scov documentation built on March 18, 2026, 5:08 p.m.