strengejacke / sjPlot

sjPlot - Data Visualization for Statistics in Social Science
https://strengejacke.github.io/sjPlot
603 stars 91 forks source link

could not find function "sjt.lmer" #865

Closed finch-f closed 1 year ago

finch-f commented 1 year ago

Hi, I tried many times to use the sjPlot package on my linear mixed model. However, Rstudio keeps telling me that 'could not find function "sjt.lmer" '. Could you please tell me how to fix this? Thanks a lot.

And this is my current version setup

sessionInfo() R version 4.2.2 (2022-10-31 ucrt) Platform: x86_64-w64-mingw32/x64 (64-bit) Running under: Windows 10 x64 (build 22000)

Matrix products: default

locale: [1] LC_COLLATE=Chinese (Simplified)_China.utf8 LC_CTYPE=Chinese (Simplified)_China.utf8 LC_MONETARY=Chinese (Simplified)_China.utf8 LC_NUMERIC=C
[5] LC_TIME=Chinese (Simplified)_China.utf8

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

other attached packages: [1] lme4_1.1-31 Matrix_1.5-1 sjlabelled_1.2.0 sjmisc_2.8.9 sjPlot_2.8.12

loaded via a namespace (and not attached): [1] pkgload_1.3.2 tidyr_1.2.1 splines_4.2.2 modelr_0.1.10 datawizard_0.6.4 shiny_1.7.3 assertthat_0.2.1 remotes_2.4.2 bayestestR_0.13.0 [10] sessioninfo_1.2.2 pillar_1.8.1 backports_1.4.1 lattice_0.20-45 glue_1.6.2 digest_0.6.30 promises_1.2.0.1 minqa_1.2.5 colorspace_2.0-3
[19] htmltools_0.5.3 httpuv_1.6.6 pkgconfig_2.0.3 devtools_2.4.5 broom_1.0.1 haven_2.5.1 purrr_0.3.5 xtable_1.8-4 mvtnorm_1.1-3
[28] scales_1.2.1 processx_3.8.0 later_1.3.0 emmeans_1.8.2 tibble_3.1.8 generics_0.1.3 ggplot2_3.4.0 usethis_2.1.6 ellipsis_0.3.2
[37] withr_2.5.0 cachem_1.0.6 cli_3.4.1 magrittr_2.0.3 crayon_1.5.2 effectsize_0.8.2 mime_0.12 memoise_2.0.1 estimability_1.4.1 [46] ps_1.7.2 fs_1.5.2 fansi_1.0.3 nlme_3.1-160 MASS_7.3-58.1 forcats_0.5.2 pkgbuild_1.3.1 profvis_0.3.7 tools_4.2.2
[55] prettyunits_1.1.1 hms_1.1.2 lifecycle_1.0.3 stringr_1.4.1 munsell_0.5.0 ggeffects_1.1.4 callr_3.7.3 compiler_4.2.2 rlang_1.0.6
[64] grid_4.2.2 nloptr_2.0.3 parameters_0.20.0 rstudioapi_0.14 htmlwidgets_1.5.4 miniUI_0.1.1.1 boot_1.3-28 gtable_0.3.1 curl_4.3.3
[73] sjstats_0.18.2 DBI_1.1.3 R6_2.5.1 knitr_1.41 dplyr_1.0.10 performance_0.10.0 fastmap_1.1.0 utf8_1.2.2 rprojroot_2.0.3
[82] insight_0.18.7 stringi_1.7.8 Rcpp_1.0.9 vctrs_0.5.0 urlchecker_1.0.1 tidyselect_1.2.0 xfun_0.34

finch-f commented 1 year ago

I see. This function has been replaced by tab_model. Sorry for the interruption. And thanks for the beautiful table plot!