I calculated a simple mediation model with lavaan using the following code:
NA. <- 'ZMHAS_12 ~ a*ZNA
ZPMH_scale ~ b*ZMHAS_12 + c*ZNA
indirect := a*b
direct := c
total := c + (a*b)'
fit <- sem(NA., data = data, estimator = "MLR")
summary(fit, standardized=T, fit.measures=T, rsq = T)
rsq = T gives me the R-square. Now my question is where I can see whether the R-squares are significant?
Thanks for your answers.