I wanted to ask if anyone knows how to obtain in a table the decomposition of the effect of the variables of a SEM model. I have made the model with the sem function of the lavaan package, but I don't know how to obtain the total, direct and indirect effects using the same package.
Thank you very much for your help.