tbates / umx

Making Structural Equation Modeling (SEM) in R quick & powerful
https://tbates.github.io/
44 stars 17 forks source link

xmu_assemble_twin_supermodel: Add a check that MZ & DZ models have vector=TRUE selected if the mzWeightMatrix's is !NULL #113

Closed tbates closed 4 years ago

tbates commented 4 years ago

We can support weighted analysis in umx, with some fiddling involving the data model being set to vector mode

ergo: make sure m1$MZ$fitfunction$vector = TRUE for models where the user has a "weightVar" column

tbates commented 4 years ago

added to xmu_assemble_twin_supermodel and its replacement xmu_make_TwinSuperModel