title: How can I check the distribution for gender separately when the data is not separated by gender?
body: <p>I have to check if the data has a normal distribution for CREANZ for male and female, but my dataset has the genders mixed up and I don't how to separate them so that I can check the distribution for the genders separately. I did the following before:</p>
  <pre><code>df$Gender[df$Gender==&quot;V&quot;]=0.742
  df$Gender[df$Gender==&quot;M&quot;]=1
  df$Gender[df$Gender==&quot;F&quot;]=0.742
  df$Gender&lt;-as.numeric(df$Gender)
  df$Gender&lt;-as.numeric(df$Gender)
  </code></pre>