Using tryCatch in the integral and mapply
问题 I have the date (test): test<-structure(list(X = c(630L, 631L, 977L, 978L), si = c(1.063166618, 1.063166618, 1.063166618, 1.063166618), ho = c(-0.071587466, -0.071587466, -0.071587466, -0.071587466), bd = c(0.998351574, 0.999361098, 0.999978304, 0.944579005), i1 = c(0.997434318, 0.997434318, 0.997434318, 0.997434318), x1b1m = c(2.938615084, 3.220915079, 4.088527679, 1.818297207), x1b1e = c(3.561241746, 3.843541741, 4.711154342, 1.594420075), x1b0m = c(2.714737952, 2.997037947, 3.864650548, 1