matrix Mean Matrix R Mean function calculates arithmetic mean of vector with NA values and arithmetic mean of column in …