| t95ci | R Documentation |
se Calculates the 95% confidence interval of the mean for a vector of data based on the t-distribution
t95ci(x)
x |
numeric vector |
This is a convenience function internal to NicePlots and is not exported. If x is a numeric vector, SD is the standard
deviation of x, N is the length of x and TQ is the t-distrubition quantile for 0.975 with N-1
degrees for freedom then the 95% confidence interval of the mean may be caclulated as:
95\%ci = \frac{QT*SD}{\sqrt{N}}
a double corresponding to the length of one arm ofthe 95% confidence interval
sd
data(iris)
#t95ci(iris$Sepal.Length)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.