Hi Prof. Long,
I'm looking to pool dpm results from many multiply imputed datasets. I have created a list of type "S4(dpm;;dpm)" objects using the lapply function in conjunction with the dpm call. The issue is that I cannot use summary(pool("list of S4 objects")) like I normally can with a list of lavaan outputs. When I use mice::pool on the list of dpm model outputs, I receive the error:
"Error: $ operator not defined for this S4 class"
Do you know how I might go about pooling my results using Rubins rules with a list of dpm model outputs?
By the way, thanks again for this excellent package. It's saved me from many opportunities to introduce human errors using lavaan syntax.
Sam
Hi Prof. Long,
I'm looking to pool dpm results from many multiply imputed datasets. I have created a list of type "S4(dpm;;dpm)" objects using the lapply function in conjunction with the dpm call. The issue is that I cannot use summary(pool("list of S4 objects")) like I normally can with a list of lavaan outputs. When I use mice::pool on the list of dpm model outputs, I receive the error:
"Error: $ operator not defined for this S4 class"
Do you know how I might go about pooling my results using Rubins rules with a list of dpm model outputs?
By the way, thanks again for this excellent package. It's saved me from many opportunities to introduce human errors using lavaan syntax.
Sam