You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The behavior is inconsequential, but might confuse users. I would suggest adding an argument that takes care of this (or change the behaviour altogether, but I don't think that's necessary)
I was thinking the other way around: setting the first row of make.predictorMatrix(nhanes) to 0s if the user requests it (with an additional argument).
In my opinion, the predictor matrix should reflect which predictor variables are used to impute the target variable. So if there is nothing to impute, there should not be any predictors set. Although I do see how this suggested behaviour should not be the default, e.g. for over-imputing observed data.
The behavior is inconsequential, but might confuse users. I would suggest adding an argument that takes care of this (or change the behaviour altogether, but I don't think that's necessary)
Created on 2023-11-21 with reprex v2.0.2
The text was updated successfully, but these errors were encountered: