ncn-foreigners / nonprobsvy

An R package for modern methods for non-probability surveys
https://ncn-foreigners.github.io/nonprobsvy/
Other
29 stars 4 forks source link

error in `nonprobVariablesSelection` #14

Closed BERENZ closed 1 year ago

BERENZ commented 1 year ago

https://github.com/ncn-foreigners/nonprobsvy/blob/46900715da3d6edfde1e599e78faee4a085f1281/R/nonprobVariablesSelection.R#L272

For some examples this line causes problems

Error in names(beta) <- colnames(X_design) : 
  'names' attribute [20] must be the same length as the vector [9]