How can I calculate the integral- $\int_{S}^{T} \Phi \Big(\frac{l_0-f(t)}{\sigma}\Big)g(t)dt$ where $f(t)= \mu_0+\mu_1 e^{-\gamma (7+logt)^\delta}$ and $g(t)= \frac{1}{(t+h)^k}$ .
Here $\Phi \Big(\frac{l_0-f(t)}{\sigma}\Big)= \frac{1}{\sigma \sqrt{2 \pi} } \int_{-\infty}^{l_0} e^{\frac{(m-f(t))^2}{2 \sigma^2}} dm$; and $l_0,\mu_0,\mu_1,\gamma,\delta,h,k$ are constants.
Use the
integrate()command in R.Make sure the arguments result in defined function values for the integrand (e.g. S$\geq$0).