r2mlm icon indicating copy to clipboard operation
r2mlm copied to clipboard

r2mlm: R Package for Calculating R-Squared in Multilevel Models

Results 19 r2mlm issues
Sort by recently updated
recently updated
newest added

Better example of the documentation: ``` r2mlm_long_manual( data = test, covs = c("salary_c", "salary_m", "s_t_ratio", "interaction"), random_covs = c("salary_c"), clusterID = "schoolID", gammas = c(0.0771823, 0.0384119, -0.0399241, -0.0001657), Tau =...

documentation

I'm having an issue which I will describe below. Setup ```{r} library(lmerTest) library(r2mlm) test_data=read.csv("Test_data.csv") ``` Running models (Model 1) ```{r} does_work = lmer(Y1 ~ X + (1|ID), test_data) r2mlm(does_work) $Decompositions...

Hi, I'm currently trying to calculate R2 for my three-level MLM using the r2mlm3_manual() function. The problem I have is that one of my predictors, "Time" (Pre, Post & Follow...

Hello! Wonderful package here, so grateful for your work on this. I'm trying to use the r2mlm3_manual() function and I'm running into an error. It's possible I've just made a...

bug
reproducible example needed

In the documentation for `r2mlm3_manual()`, both `Tau2_noncmc` and `Tau3_noncmc` say, `to be entered in the order listed by randomcovsl2_noncmc`. However, `randomcovsl2_noncmc` is not an argument in this function, though I...

The `r2mlm3_manual()` function has a typo when calculating the variance of `random_covs23`. Instead of `var_randomcovs23

Hey, Thanks a lot for this package ! I get the following error message though : ![image](https://user-images.githubusercontent.com/44175219/96101532-d936c400-0ed5-11eb-941d-82b51766ae3b.png) All the independent variables in the model are factors, except for the participants...

enhancement

I have run a random intercepts model successfully: m1 r2mlm(m1) Error in `$

bug
reproducible example needed

Spent a couple hours troubleshooting and realized that my dataframe was actually a tibble, which was leading r2mlm to give an error when I tried to put my model into...

- `model@cnms` for column names - `ngrps(model)` for number of groups