The average number of atoms found at a distance r from a central atom. In the case of a crystal, the radial distribution function is a series of regular spikes, corresponding to the atomic positions in the lattice. Calculating the radial distribution function is of fundamental importance in the theory of liquids.