yrosseel / lavaan

an R package for structural equation modeling and more
http://lavaan.org
429 stars 98 forks source link

lavaan.mi summary() prints test-pooling details #355

Closed TDJorgensen closed 4 months ago

TDJorgensen commented 4 months ago

In lavaan.mi, I get the test from the fitMeasures() method, not a short_summary(). So it took me a while to figure out a hack. In the $fit elements header attribute, I give the header itself some attributes to hide some additional information for print.lavaan.summary() to find. And the header's extra attributes are never printed because the print.lavaan.vector() method discards it before separately printing the header and vector.