For mixed models with random intercepts only, the statistic for R square is
$$R^2 = (V_{int\ only} - V_{full\ model}) / V_{int\ only}$$
My question is: How to estimate R square in mixed models with random effects? And estimate R square for each level? Let's say it's a 3-level model with random effects of time at level 2.