alexanderrobitzsch / miceadds

Some Additional Multiple Imputation Functions, Especially for 'mice'.
https://alexanderrobitzsch.github.io/miceadds/
16 stars 2 forks source link

summary() subscript out of bounds #13

Closed tra6sdc closed 5 years ago

tra6sdc commented 5 years ago

I have run a glm.cluster from the quassipoisson family. When I try to get a summary I get this message:

Error in [<-(*tmp*, , "z value", value = csmod[, "Estimate"]/csmod[, : subscript out of bounds

I can extract the information I need from the data structure, but it would be good to have formatted output from R.

R version 3.5.0 (2018-04-23) Platform: x86_64-w64-mingw32/x64 (64-bit) Running under: Windows >= 8 x64 (build 9200)

Matrix products: default

locale: [1] LC_COLLATE=English_United Kingdom.1252 LC_CTYPE=English_United Kingdom.1252
[3] LC_MONETARY=English_United Kingdom.1252 LC_NUMERIC=C
[5] LC_TIME=English_United Kingdom.1252

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

other attached packages: [1] multiwayvcov_1.2.3 miceadds_2.14-26 mice_3.3.0 lattice_0.20-35

loaded via a namespace (and not attached): [1] lavaan_0.6-3 zoo_1.8-3 tidyselect_0.2.4 mitools_2.3
[5] purrr_0.2.5 splines_3.5.0 stats4_3.5.0 yaml_2.2.0
[9] mgcv_1.8-24 pan_1.6 survival_2.42-6 rlang_0.2.2
[13] jomo_2.6-4 nloptr_1.0.4 pillar_1.3.0 glue_1.3.0
[17] lavaan.survey_1.1.3.1 bindrcpp_0.2.2 bindr_0.1.1 mirt_1.29
[21] GPArotation_2014.11-1 CDM_6.6-5 mvtnorm_1.0-8 coda_0.19-1
[25] permute_0.9-4 dcurver_0.9.1 sirt_2.7-50 parallel_3.5.0
[29] broom_0.5.0 Rcpp_0.12.18 backports_1.1.2 vegan_2.5-2
[33] lme4_1.1-18-1 Deriv_3.8.5 polycor_0.7-9 mnormt_1.5-5
[37] dplyr_0.7.6 survey_3.33-2 grid_3.5.0 tools_3.5.0
[41] sandwich_2.5-0 magrittr_1.5 tibble_1.4.2 cluster_2.0.7-1
[45] crayon_1.3.4 tidyr_0.8.1 TAM_2.13-15 pbivnorm_0.6.0
[49] pkgconfig_2.0.2 MASS_7.3-50 Matrix_1.2-14 assertthat_0.2.0
[53] minqa_1.2.4 rstudioapi_0.7 boot_1.3-20 mitml_0.3-6
[57] R6_2.2.2 rpart_4.1-13 sfsmisc_1.1-2 nnet_7.3-12
[61] nlme_3.1-137 compiler_3.5.0

alexanderrobitzsch commented 5 years ago

Hard to judge without a reproducible example. I cannot replicate it with my (few) examples.

tra6sdc commented 5 years ago

Perfectly understandable. Unfortunately the data I am using is sensitive and I am unable to share. I am OK for you to close this if there is no way to progress.