SachaEpskamp / semPlot

Path diagrams and visual analysis of various SEM packages' output
GNU General Public License v2.0
61 stars 20 forks source link

simple patch for the blavaan support #13

Closed seonghobae closed 6 years ago

seonghobae commented 6 years ago
ecmerkle commented 6 years ago

Maybe worth noting here that a blavaan object is an S4 class that contains the lavaan class. So

inherits(fit, "lavaan")

evaluates to TRUE if fit is of class blavaan (and also if fit is of class lavaan). So, instead of the proposed change, it might be better to use inherits() in place of class(object) == 'lavaan'.

SachaEpskamp commented 6 years ago

Thanks!