title: Change values in a data set in Julia
body: <p>I am converting a function in R to Julia, but I do not know how to convert the following R code:</p>
  
  <pre><code>x[x==0]=4
  </code></pre>
  
  <p>Basically, x contains rows of numbers, but whenever there is a 0, I need to change it to a 4. The data set x comes from a binomial distribution. Can someone help me define the above code in Julia?</p>