It is calculated by taking the sum of the values and dividing with the number of values in a data series. W is the group width. Uploads frequency 0 6 1 4 2 1 5 1 Basically 6 users have uploaded 0 times 4 users uploaded 1 time and so on.
The functions we are discussing in this chapter are mean median and mode.
To estimate the Median use. C The cumulative frequency corresponding to the class just before the median class. The function mean is used to calculate this in R. The median is the central number of a data set.