data(multisampling)
model <- hgwr(formula = y ~ L(g1 + g2) + x1 + (z1 | group),
data = multisampling$data,
coords = multisampling$coords,
bw = 10)
summary(model)
Run the code above in your browser using DataLab