R codes under code folder and PNG plots under plot folder