iRP-SDR Code for the paper: "Hung, H. and Huang, S. Y. (2019). Sufficient dimension reduction via random-partitions for the large-p-small-n problem. Biometrics, 75, 245-255."