How To Create A Frequency Distribution In R