title: How can I plot this complicated integral in R?
body: <p>I am currently struggling with a complicated function which I want to draw in R. Basically it is a combination of distribution and other dependent probability, so I have to modify a normal distribution.</p>
  
  <p>The final formula will look something like this:</p>
  
  <p><img src="https://i.stack.imgur.com/5Ff9o.jpg" alt="integral"></p>
  
  <p>How can I draw it in R? </p>