adding R code for medge and updated description file