statistikat / simPop

Simulation of Synthetic Populations for Survey Data Considering Auxiliary Information
30 stars 7 forks source link

Update specifyInput.R #30

Closed grahamstark closed 9 months ago

grahamstark commented 9 months ago

Avoiding: "Error in df[[strata]] <- factor(1) : object of type 'closure' is not subsettable" in the case where the strata variable is null. df should 'data', I think. And rename strata column name to avoid a name clash.

Many thanks for your work on this. I learned about simPop at the IMA conference this week.

grahamstark commented 9 months ago

oops. Try again.