simsem / semTools

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

parcelAllocation with a single factor #4

Closed schoam4 closed 10 years ago

schoam4 commented 10 years ago

There is a bug in the parcelAllocation code. When run on a single factor the function kicks back an error ("Error in if (Npp[Mat] == Npp[Mat - 1]) { : missing value where TRUE/FALSE needed").

I'm looking into it.

schoam4 commented 10 years ago

Bug has been identified and fixed. The check to make sure items in the same parcel were assigned to the same factor cause a problem with a single factor (when this isn't an issue).