@@ -221,6 +221,8 @@ print(effectsize::standardize_parameters(
221221 linearMixedModel,
222222 method = "refit"),
223223 digits = 2)
224+
225+ performance::r2(linearMixedModel)
224226```
225227
226228##### Prototypical Growth Curve
@@ -350,6 +352,17 @@ print(effectsize::standardize_parameters(
350352 linearMixedModel_nlme,
351353 method = "refit"),
352354 digits = 2)
355+
356+ performance::r2(linearMixedModel_nlme)
357+ ```
358+
359+ #### R-Squared {#sec-rSquared}
360+
361+ The marginal $R^2$ is the proportion of variance in the outcome variable that is accounted for by the fixed effects in the model, whereas the conditional $R^2$ is the proportion of variance in the outcome variable that is accounted for by the fixed and random effects in the model.
362+
363+ ``` {r}
364+ performance::r2(linearMixedModel)
365+ performance::r2(linearMixedModel_nlme)
353366```
354367
355368#### Intraclass Correlation Coefficent {#sec-icc}
@@ -377,6 +390,8 @@ print(effectsize::standardize_parameters(
377390 timepointSpecificErrorsMixedModel,
378391 method = "refit"),
379392 digits = 2)
393+
394+ performance::r2(timepointSpecificErrorsMixedModel)
380395```
381396
382397### Quadratic Growth Curve Model {#sec-quadraticGCM}
@@ -413,6 +428,8 @@ print(effectsize::standardize_parameters(
413428 quadraticGCM,
414429 method = "refit"),
415430 digits = 2)
431+
432+ performance::r2(quadraticGCM)
416433```
417434
418435This is equivalent to:
@@ -431,6 +448,8 @@ print(effectsize::standardize_parameters(
431448 quadraticGCM,
432449 method = "refit"),
433450 digits = 2)
451+
452+ performance::r2(quadraticGCM)
434453```
435454
436455#### Prototypical Growth Curve
@@ -578,6 +597,8 @@ print(effectsize::standardize_parameters(
578597 splineGCM,
579598 method = "refit"),
580599 digits = 2)
600+
601+ performance::r2(splineGCM)
581602```
582603
583604#### Prototypical Growth Curve
@@ -712,6 +733,8 @@ print(effectsize::standardize_parameters(
712733 acceleratedLongitudinalMixedModel_linear,
713734 method = "refit"),
714735 digits = 2)
736+
737+ performance::r2(acceleratedLongitudinalMixedModel_linear)
715738```
716739
717740##### Prototypical Growth Curve
@@ -824,6 +847,8 @@ print(effectsize::standardize_parameters(
824847 acceleratedLongitudinalMixedModel_quadratic,
825848 method = "refit"),
826849 digits = 2)
850+
851+ performance::r2(acceleratedLongitudinalMixedModel_quadratic)
827852```
828853
829854##### Prototypical Growth Curve
@@ -949,6 +974,8 @@ print(effectsize::standardize_parameters(
949974 generalizedLinearMixedModel,
950975 method = "refit"),
951976 digits = 2)
977+
978+ performance::r2(generalizedLinearMixedModel)
952979```
953980
954981## ` MASS `
@@ -1014,6 +1041,8 @@ print(effectsize::standardize_parameters(
10141041 gamModel,
10151042 method = "refit"),
10161043 digits = 2)
1044+
1045+ performance::r2(gamModel)
10171046```
10181047
10191048### Prototypical Growth Curve
0 commit comments