complete commit of 4 R codes and 4 png plots