I could use impacts function for splm models to get the direct, indirect and total effects for the lagged spatial panel models. But, impacts function won't work for spgm models. Does anyone know of any package or functions to capture the direct, indirect and total effects for spgm models.