kknn
kknn copied to clipboard
pass contrasts directly to model.matrix
Fixes #16
Rather than using options to set the contrasts, this sets them directly on model.matrix via the argument contrasts.arg.
Feedback/ comments are welcome!
Hi! It seems like it would be useful to many people if this change would be available in the CRAN release of kknn. Are there any plans to merge this PR soon @KlausVigo?