as a replacement for vs rather than

as a replacement for

rather than

conj
  • And not. 

  • Used to indicate that the following alternative is less preferred. 

prep
  • instead of; in preference to. 

How often have the words as a replacement for and rather than occurred in a corpus of books? (source: Google Ngram Viewer )