title: Creating a new column from existing column of z-scores, w/ some replaced with 0 or N/A
body: <p>I'm new to programming and data analyses using R (I'm a 2nd yr graduate student in psychology, trying to become well-versed in R).</p>
  
  <p>Anyhow, here's my very basic issue:</p>
  
  <p>I have my data in long-format. I'm looking at different RT scores in my data.frame I've imported to R. Currently, I've converted one column of my raw data into z-scores that corresponds/lines up with my raw data scores.</p>
  
  <p>Now, I'd like to make a new column of my raw data scores with z-scores of +/- 1.96 removed. </p>
  
  <p>Alternatively, I would like to know how to create a new column based on my raw scores that automatically replaces values that are +/- 2SD's away from the mean with values that are 0 or "NA". </p>
  
  <p>Thanks all! Great community you guys have here and I plan on learning a lot. Thanks for bearing with me.</p>