e. g. vs for example

e. g.

for example

prep
  • introducing one or more parts of the group or topic just mentioned or typical of the options available 

prep
  • As an example. 

How often have the words e. g. and for example occurred in a corpus of books? (source: Google Ngram Viewer )