r - Add datapoints to existing scatterplot -
i have existing ggplot2 scatterplot shows results of parameter against normal database. want add 2 additional points graph pass command line arguments script script age value1 value2 . show these points red r , l geom_text above each point. have following code far not know how add finishing touches pkgload <- function(x) { if (!require(x,character.only = true)) { install.packages(x,dep=true, repos='http://star-www.st-andrews.ac.uk/cran/') if(!require(x,character.only = true)) stop("package not found") } } pkgload("ggplot2") #load current normals database df<-data.frame(read.csv("dat_normals.txt", sep='\t', header=t)) args<-commandargs(true) #specify each argument age <- args[1] rsbr <- args[2] lsbr <- args[3] # run regression , append prediction intervals lm_fit = lm(sbr ~ age, data = df) sbr_with_pred = data.frame(df, predict(lm_fit, interval='prediction')) p <- ggplot...