Skip to content

merModList models are on the list of supported models, but give errors in model_summary and other functions #1199

@SL-KA-git

Description

@SL-KA-git

Hello, I am trying to use model_summary() to extract information from a merModList class object created by the merTools package. merModList models are listed in supported_models(), but when I try using functions from the parameters package, I get error messages.

Some functions like model_summary() give the following error message:

Fehler: Sorry, model_parameters() failed with the following error (possible class merModList not supported):
formales Argument "component" passt zu mehreren gegebenen Argumenten`

Other functions like standardize_names() just say:

Objects of class merModList are currently not supported.

I would be very grateful for help on making merModList models work with this package. Thanks!

Example:

library(merTools)
library(parameters)

# example from the merTools::lmerModList help file:
sim_list <- replicate(n = 10,
                      expr = sleepstudy[sample(row.names(sleepstudy), 180),],
                      simplify=FALSE)
fml <- "Reaction ~ Days + (Days | Subject)"
mod <- lmerModList(fml, data = sim_list)
summary(mod) # works

any(supported_models() == "merModList") # works

standardize_names(mod) # doesn't work
model_parameters(mod) # doesn't work

SessionInfo:

R version 4.5.1 (2025-06-13 ucrt)
Platform: x86_64-w64-mingw32/x64
Running under: Windows 11 x64 (build 26200)

Matrix products: default
  LAPACK version 3.12.1

locale:
[1] LC_COLLATE=German_Germany.utf8  LC_CTYPE=German_Germany.utf8    LC_MONETARY=German_Germany.utf8
[4] LC_NUMERIC=C                    LC_TIME=German_Germany.utf8    

time zone: Europe/Berlin
tzcode source: internal

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

other attached packages:
[1] parameters_0.28.3 merTools_0.6.4    arm_1.14-4        lme4_1.1-37       Matrix_1.7-3      MASS_7.3-65      

loaded via a namespace (and not attached):
 [1] broom.mixed_0.2.9.6 future_1.58.0       generics_0.1.4      tidyr_1.3.1         lattice_0.22-7     
 [6] listenv_0.9.1       digest_0.6.37       magrittr_2.0.3      grid_4.5.1          RColorBrewer_1.1-3 
[11] iterators_1.0.14    fastmap_1.2.0       mvtnorm_1.3-3       foreach_1.5.2       backports_1.5.0    
[16] promises_1.3.3      purrr_1.0.4         scales_1.4.0        codetools_0.2-20    shiny_1.11.0       
[21] abind_1.4-8         reformulas_0.4.1    Rdpack_2.6.4        cli_3.6.5           rlang_1.1.6        
[26] rbibutils_2.3       parallelly_1.45.0   splines_4.5.1       withr_3.0.2         datawizard_1.3.0   
[31] tools_4.5.1         parallel_4.5.1      nloptr_2.2.1        coda_0.19-4.1       minqa_1.2.8        
[36] dplyr_1.1.4         ggplot2_3.5.2       httpuv_1.6.16       bayestestR_0.17.0   forcats_1.0.0      
[41] boot_1.3-31         globals_0.18.0      broom_1.0.8         mime_0.13           vctrs_0.6.5        
[46] R6_2.6.1            lifecycle_1.0.4     blme_1.0-7          insight_1.4.6       furrr_0.3.1        
[51] pkgconfig_2.0.3     later_1.4.2         pillar_1.10.2       gtable_0.3.6        glue_1.8.0         
[56] Rcpp_1.0.14         tibble_3.3.0        tidyselect_1.2.1    rstudioapi_0.17.1   xtable_1.8-4       
[61] farver_2.1.2        htmltools_0.5.8.1   nlme_3.1-168        compiler_4.5.1  

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions