# NOT RUN {
# Load data set
data(headcount)
# Fit a generalized linear mixed model with SAR spcification using headcount data
result <- ebpSP(ps~x1, var, N, n, Wmatrix, "REML", 100, 1e-04, headcount)
result
# }
Run the code above in your browser using DataLab