Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upBetter error message when step_dummy on two or more variables and one of them have NA #133
Comments
|
Hi @LluisRamon, how do you finally dealt with it? Is there any way to overcome this issue without renounce of using recipes? Thanks! |
|
This should solve the problem by not generating an error but instead assigning missing values to the resulting indicator variables. |
|
Thank you! |
|
Great, thanks! |
Thank you for the package, I find it very useful!
There is an error when using step_dummy with two or more variables and one of them have NA (not sure if it is the expected behaviour).
Error message relates to
differing number of rowswhich is hard to understand which is the problem. Especially if you have a long or complex recipe.I attach a reproducible example.
My sessionInfo in case you need it.