model.matrix or dummyVars - which is better

Which is easier/better to use to binarize variables?

  1. model.matrix or
  2. dummyVars

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.