selective-inference / R-software

R software for selective inference
GNU General Public License v2.0
34 stars 18 forks source link

Fixed handling of numeric variables in factorDesign #47

Open coreybrier opened 6 years ago

coreybrier commented 6 years ago

factorDesign assumed numeric variables preceded all factor variables, which may cause incorrect name assignment.

Also, fixed handling of multiple numeric variables (indcounter and assignment of numeric data.frame into the x matrix)

Thank you!

(This is my first pull request and real use of git: I hope I have completed it appropriately. Thank you for your understanding!)