I am using glmer and I wish to extract the standard deviation of the variance components of the random effects (intercept and slope).
I have tried using:
VarCorr(model)
which returns the two standard deviation values (plus the correlation), but I just wish to extract the Intercept and Slope SD values.
I tried using:
VarrCorr(model)[1]
to extract the random intercept SD, which lets me know that:
attr(,"stddev")
(Intercept) year
0.075 0.011
but I don't know how to extract these as individual elements.