So I have a dataset :
dt<-c(1106,1402, 827, 781,876, 1134,1014, 964, 848, 814, 772, 912, 923, 996, 569, 774, 1389, 900)
lets assume a normal curve and running t.test(dt)
I get
One Sample t-test
data: dt t = 19.057, df = 17, p-value = 6.579e-13 alternative hypothesis: true mean is not equal to 0 95 percent confidence interval: 839.9344 1049.0656 sample estimates: mean of x 944.5
Which is all standard fare for 95% confidence interval.
But what I'd like to find is what is the confidence in a specific range like from 850 to 900. Because I want to know the probability that the next datapoint will fall between 850 and 900. Which package::function can do this?