如何从 ezBoot(ez 包)中提取置信区间?

How can I extract confidence intervals from ezBoot (ez package)?

我正在使用 ez 包中的 ezBoot function。我想提取使用同一包的 ezPlot2 函数绘制的置信区间。

示例可以在 ezBoot function:

中找到
#Read in the ANT data (see ?ANT).
data(ANT)
head(ANT)
ezPrecis(ANT)

#Run ezBoot on the accurate RT data
rt = ezBoot(
    data = ANT
    , dv = rt
    , wid = subnum
    , within = .(cue,flank)
    , between = group
    , iterations = 1e1 #1e3 or higher is best for publication
)


#plot the full design
p = ezPlot2(
    preds = rt
    , x = flank
    , split = cue
    , col = group
)
print(p)

如何提取置信区间?

没关系,我没有阅读 [ezPlot2 函数] (http://www.inside-r.org/packages/cran/ez/docs/ezPlot2) 的完整参数集。公平地说,最初的描述说这些函数是用于显示的,但是如果参数 do_plot 设置为 true 那么它将 return 点预测(我猜它是平均值)和置信区间:

do_plot: Logical. If TRUE, no plot will be produced but instead a data frame containing point predictions and confidence limits will be returned.