applying one_hot manually in R

2 posts were merged into an existing topic: How to apply one_hot manually