title: Replacing values in R conditionally
body: <p>I would like to conditionally replace the values of each columns in R. My data looks like below image.</p>
  
  <p><img src="https://i.stack.imgur.com/eXoyN.jpg" alt="Initial Data"></p>
  
  <p>In this, I want to check if the values are >UCL then want to replace with UCL value and If the values are 
  
  <p>The Output should look like below image:</p>
  
  <p><img src="https://i.stack.imgur.com/zqtsM.jpg" alt="Result Image"></p>
  
  <p>Like this I have many rows and columns data and I'm looking for solution in R.</p>