Calculate the integral of the ETAS conditional intensity
Source:R/AnalysingPosteriors.R
      lambda_N.RdCalculate the number of events in a time interval T1 to T2 given imposed events and ETAS
Arguments
- th.mu
- Background rate, - mu, on the internal parameter scale
- th.K
- ETAS triggering parameter - Kon the internal parameter scale
- th.alpha
- ETAS triggering parameter - alphaon the internal parameter scale
- th.c
- ETAS triggering parameter - con the internal parameter scale
- th.p
- ETAS triggering parameter - pon the internal parameter scale
- T1
- Start of temporal model domain. 
- T2
- End of temporal model domain. 
- M0
- Minimum magnitude threshold 
- Ht
- History of the process, or set of known events in the interval. It must be a - data.framewith columns- ts(time) and- magnitudes(magnitudes).
- link.functions
- listof functions to transform the parameters from the internal scale to the ETAS scale