TeX source:
 \begin{array}{c|cccc} x & -1 & 0 & 1 & 2 \\ \hline f / n & 0.3 & 0.4 & 0.2 & 0.1 \end{array}