# \donttest{
results1 <- anchored_maic(
ipds_wts = pts, intervention.arm = TRT,
agds_eff = AgD_eff, comparator = STUDY,
comparator.study = "Study XX-1",
ipds.param.var = PARAMCD, ipds.param = "OS",
agds.param.var = PARAM, agds.param = "OS",
agds.estimate = EST, agds.ci.lower = CIL, agds.ci.upper = CIU,
time = AVAL, status = CNSR, event = 0,
stralist = "BPDL1, CNSBRAIN, AGEGR", dtype = "HR",
wt.col = wt, CIw = 0.95, digits = 2)
results1
results2 <- anchored_maic(
ipds_wts = pts, intervention.arm = TRT,
agds_eff = AgD_eff, comparator = STUDY,
comparator.study = "Study XX-1",
agds.param.var = PARAM, agds.param = "ORR",
agds.estimate = EST, agds.ci.lower = CIL, agds.ci.upper = CIU,
response = RESP,
stralist = "BPDL1, CNSBRAIN, AGEGR", dtype = "OR",
wt.col = wt, CIw = 0.95, digits = 2)
results2
# }
Run the code above in your browser using DataLab