@EconomiCurtis thank you for your response. below is what I have performed to plot a scatter plot but I am unable to add the R2, slope and p-value. I need help to do that.
ggplot(wcr,aes(x=Rainfall,y=Groundwater.Level))+geom_point(alpha=0.6)+stat_smooth(method="lm",col="red",se=FALSE)