This lecture goes through how-to calculate a confidence interval for the difference between two means and a corresponding test in R
Data used in this series can be downloaded as an R packages:
devtools::install_github('mortenarendt/DataAnalysisinFoodScience')
library(ggplot2)
qplot(data = DAinFoodScience::coffeetemppanel, Sample, Intensity,color = factor(Assessor), group = factor(Assessor):factor(Replicate)) + geom_line()