title: Create a column in a dataframe with two levels spread randomly within the column's rows
body: <p>I want to add a new column named <code>user_type</code> in my dataframe which will include the words <code>&quot;active&quot;</code> and <code>&quot;inactive&quot;</code> in a random way. I do not care how many <code>&quot;active&quot;</code> and <code>&quot;inactive&quot;</code> I will have and in which rows.</p>
  <pre><code># Dummy data
  data &lt;- data.frame(
    int_end = as.Date(&quot;2017-06-14&quot;) - 0:364,
    users = runif(365) + seq(-140, 224)^2 / 10000,
    user_type=()
  )
  </code></pre>