RUSH WORK! Using R to solve STATISTIC Question