data(main2003JUL26) # The aftershock data of 26th July 2003 earthquake of M6.2
## output transformed times and cumulative numbers
x <- main2003JUL26
etarpp(time = x$time, mag = x$magnitude, threshold = 2.5, reference = 6.2,
parami = c(0, 0.63348e+02, 0.38209e-01, 0.26423e+01, 0.10169e+01),
tstart = 0.01, zte = 7, ztend = 18.68)
## output a res-format dataset
etarpp2(main2003JUL26, threshold = 2.5, reference = 6.2,
parami = c(0, 0.63348e+02, 0.38209e-01, 0.26423e+01, 0.10169e+01),
tstart = 0.01, zte = 7, ztend = 18.68)
Run the code above in your browser using DataLab