Menu

#30 diffdic fails with identical data but with the names appearing in a different order

v1.0_(example)
open
None
1
2013-11-05
2013-11-05
Anonymous
No

When I call diffdic() on two objects created by dic.samples(), I get incompatible dic objects: variable names differ

The data are the same in both models but for some reason (I can't quite figure out why), the order in which they appear within names(dic1$deviance) and names(dic2$deviance) are different. Seems like you may want to sort both first then call is.identical().

Discussion

Anonymous
Anonymous

Add attachments
Cancel