R : ggplot object not found error when adding layer with different data

Published --