simsem / semTools

Useful tools for structural equation modeling
75 stars 36 forks source link

better handling of column names in kd() #27

Closed ecmerkle closed 6 years ago

ecmerkle commented 6 years ago

A long time ago on the lavaan list, somebody asked to have kd() use any existing colnames associated with the input argument covmat. This push does that: if you send in a covmat with non-null colnames, then you get out a data.frame that uses the colnames. If the covmat has null colnames, you still get a data.frame out.

In case it matters, the lavaan list subject was "lavaan Error: missing observed variables in dataset"