Hi laomeng, If you know how to plot the means and calculate the standard deviations, perhaps look at the "dispersion" function in the plotrix package.
Jim On Sat, Mar 4, 2017 at 5:39 PM, laomeng_3 <laomen...@163.com> wrote: > hi all > I have a question about drawing the confidence interval . > > For instance,if I want to sample 100 times,and each time,the sample size is > 10,and the mean and sd is 15 and 1 respectively .I want to draw the 100 > confidence intervals(as the attachment) .Which function should be used to > draw the confidence interval ? > > Many thanks! > > > > 发自网易邮箱大师 > ______________________________________________ > R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. ______________________________________________ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.