Closed marklhc closed 1 month ago
There are few more issues that need to be fixed. Working on them in https://github.com/sfcheung/semfindr/tree/more_on_iss110
Added tests for listwise deletion for multiple-group model and selection by case_ids. Will add more tests this weekend.
(I think I accidentally closeed it. So I reopened it. I should wait for a while before closing it, just in case.)
Fixed here: https://github.com/sfcheung/semfindr/pull/113
I was using
semfindr
on a real data set, and ran into an unexpected error when using listwise deletion. Here's an example:Created on 2024-03-14 with reprex v2.1.0
It happens because
lavaan_rerun()
uses thecase_id
to select rows to rerun, but when there's missing data it leads to selecting rows beyond the number of cases. I made a quick fix and will submit a pull request and add a test.