Prior to the steps below, enter the data as appropriate for the analyses (described elsewhere). As always, the following commands should be typed directly in the R console window.
Get the means and standard deviations for the variables.
mean(Outcome1)
sd(Outcome1)
mean(Outcome2)
sd(Outcome2)
Test the mean difference for statistical significance and its confidence interval.
t.test(Outcome1-Outcome2,mu=0)
t.test(Outcome1,Outcome2,paired=TRUE)