I am using package splm and I'm getting an error:
#kkp: spatial autocorrelation related to individual RE
panel.SARAR.RE <- spml(formula = fm, data = rynekpracy.panel,
model = "random",
listw = W.crosssec.list, lag = TRUE,
spatial.error = "kkp")
Error in if (class(covTheta) == "try-error") { :
the condition has length > 1
Does anyone know how to cope with this? I looked up in the internet but unfortunately couldn't find anything. Thank you for helping.