Adding R Code and Images.