|
3 | 3 |
|
4 | 4 |  |
| 6 | +[](https://cran.r-project.org/package=partR2) |
| 8 | + |
6 | 9 | [](https://www.tidyverse.org/lifecycle/#maturing) |
8 | 11 | [![Codecov test |
@@ -63,25 +66,21 @@ mod <- lmer(Biomass ~ Year + Temperature + SpeciesDiversity + (1|Population), |
63 | 66 | #> |
64 | 67 | #> |
65 | 68 | #> R2 (marginal) and 95% CI for the full model: |
66 | | -#> # A tibble: 1 x 5 |
67 | | -#> R2 CI_lower CI_upper nboot ndf |
68 | | -#> <dbl> <dbl> <dbl> <int> <dbl> |
69 | | -#> 1 0.513 0.445 0.594 100 4 |
| 69 | +#> R2 CI_lower CI_upper nboot ndf |
| 70 | +#> 0.5133 0.4405 0.6085 100 4 |
70 | 71 | #> |
71 | 72 | #> ---------- |
72 | 73 | #> |
73 | 74 | #> Part (semi-partial) R2: |
74 | | -#> # A tibble: 8 x 6 |
75 | | -#> `Predictor(s)` R2 CI_lower CI_upper nboot ndf |
76 | | -#> <chr> <dbl> <dbl> <dbl> <int> <dbl> |
77 | | -#> 1 Model 0.513 0.445 0.594 100 4 |
78 | | -#> 2 SpeciesDiversity 0.173 0.0762 0.282 100 3 |
79 | | -#> 3 Temperature 0.306 0.221 0.398 100 3 |
80 | | -#> 4 Year 0.014 0 0.145 100 3 |
81 | | -#> 5 SpeciesDiversity+Temperature 0.492 0.423 0.571 100 2 |
82 | | -#> 6 SpeciesDiversity+Year 0.186 0.0905 0.293 100 2 |
83 | | -#> 7 Temperature+Year 0.328 0.246 0.417 100 2 |
84 | | -#> 8 SpeciesDiversity+Temperature+Year 0.513 0.445 0.594 100 1 |
| 75 | +#> Predictor(s) R2 CI_lower CI_upper nboot ndf |
| 76 | +#> Model 0.5133 0.4405 0.6085 100 4 |
| 77 | +#> SpeciesDiversity 0.1729 0.0581 0.3024 100 3 |
| 78 | +#> Temperature 0.3058 0.2082 0.4260 100 3 |
| 79 | +#> Year 0.0140 0.0000 0.1663 100 3 |
| 80 | +#> SpeciesDiversity+Temperature 0.4916 0.4133 0.5903 100 2 |
| 81 | +#> SpeciesDiversity+Year 0.1862 0.0732 0.3148 100 2 |
| 82 | +#> Temperature+Year 0.3276 0.2318 0.4463 100 2 |
| 83 | +#> SpeciesDiversity+Temperature+Year 0.5133 0.4405 0.6085 100 1 |
85 | 84 | ``` |
86 | 85 |
|
87 | 86 | And to plot the results: |
|
0 commit comments