## Simulations may be time intensive. Be patient.
## Example 1
# data(crm3)
# times<-crm3$times
# delta<-crm3$delta
# res <- CuMRes(times, delta, type.t = 2, length = .1,
# K = 100, alpha = rep(1, 100 ),
# beta = rep(1, 100),c.r = rep(50, 99),
# iterations = 100, burn.in = 10, thinning = 1, type.c = 2)
# CuPloth(res, type.h = "segment",qn=.5, summary = T)
# CuPloth(res, type.h = "line",qn=.5)
Run the code above in your browser using DataLab