mr_mvmedian(mr_mvinput(bx = cbind(ldlc, hdlc, trig), bxse = cbind(ldlcse, hdlcse, trigse),
by = chdlodds, byse = chdloddsse), iterations = 100)
# iterations is set to 100 to reduce runtime for the mr_mvmedian method,
# 10000 iterations are recommended in practice
Run the code above in your browser using DataLab