Attachment | Size |
---|---|
WLS_defitionvar_not_working.R [6] | 960 bytes |
Hi,
The use of definition variable for regression in means model is not working for me when using WLS. Think it was supposed to work from version 2.12 and onwards, but I haven't gotten it to work. I haven't tried different platforms or software configs, so maybe it has something to do with these.
Attached is an example where it fails (but the ML-fitfunction works fine).
Here's my sessionInfo():
R version 3.4.1 (2017-06-30)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows >= 8 x64 (build 9200)
Matrix products: default
locale:
[1] LC_COLLATE=Swedish_Sweden.1252 LC_CTYPE=Swedish_Sweden.1252 LC_MONETARY=Swedish_Sweden.1252 LC_NUMERIC=C
[5] LC_TIME=Swedish_Sweden.1252
attached base packages:
[1] stats graphics grDevices utils datasets methods base
other attached packages:
[1] OpenMx_2.13.2
loaded via a namespace (and not attached):
[1] MASS_7.3-50 compiler_3.4.1 Matrix_1.2-10 parallel_3.4.1 tools_3.4.1 Rcpp_0.12.17 grid_3.4.1 digest_0.6.12
[9] lattice_0.20-35