Open psychelzh opened 2 months ago
Based on these lines:
https://github.com/knickodem/kfa/blob/a91d785fe25d2fe386a679287b485be52a8dfa9e/R/k_cfa.R#L16-L21
and these lines:
https://github.com/knickodem/kfa/blob/a91d785fe25d2fe386a679287b485be52a8dfa9e/R/k_cfa.R#L31-L41
I understand it now. pairwise
is used in sample_stats()
, from which the statistics are calculated. And these statistics are then fed to cfa()
and that, probably, lavaan will ignore the missing
parameter then. Correct me in case I am wrong.
You are correct. Nonetheless, I am going to keep this open as a reminder to add documentation and testing regarding this point.
For example,
Created on 2024-04-14 with reprex v2.1.0