R R codes for data analysis. input data sample are on the top of codes. note what the code supporsed to be used.