title: Clustering with mix variables in R
body: <p>I'm trying to build a clustering model following the kmeans method using both continous and categoric variables.</p>
  <p>The goal is to create clusters based on the gender, age, occupation, billing plan, cell phone and the usage on some applications</p>
  <p>I'm struggeling on how to process the categorical data, I know i should turn them onto dummies but not quite sure on how to do it in all the categoric variables all at once.</p>
  <p>Thank you</p>
  <p>The table looks like:</p>
  <p>ID  Gender  Age Occupation  Plan    Cell phone  Amazon Prime GB DL  Apple Music GB DL   Audible DB DL
  C001    NR  56  Student Archaius    SAMSUNG 0   0   0.498829165
  C002    M   25  Management  Malawi  HUAWEI  0   0   1
  C003    H   32  Professor   Archaius    Apple   0   0   0.632005841</p>