R package for MedSTC algorithm by Jun Zhu