This is the code that I have so far and below is the plot that it has produced so far. Please, can someone tell me how I add the regression line?
ggplot(median.ppb, aes(x = postcode, y = medianppb)) +
geom_bar(stat = "identity") +
scale_x_discrete(limits = as.character(median.ppb$postcode)) + xlab("Postcode") +
ylab("Median Price Per Bedroom in GBP (£)") +
geom_text(label=medianprice)