#Example data for MRT with 2 arms
# id cluster score group
# 1 1 6 0
# 2 1 2 0
# 3 1 3 1
# 4 1 3 1
# 5 2 6 0
# 6 2 10 0
# 7 2 7 1
# 8 2 6 1
# 9 3 6 0
# 10 3 5 0
# 11 3 4 1
# 12 3 4 1
# 13 4 1 0
# 14 4 8 0
# 15 4 10 1
# 16 4 -2 1
Run the code above in your browser using DataLab