我正在为2X2列联表执行Barnard的精确测试。我发现https://cran.r-project.org/web/packages/Exact/Exact.pdf用于在R中进行巴纳德测试。我的R版本是3.2.2。我正在尝试安装软件包Exact
,但似乎该软件包不适用于R版本3.2.2。是这样吗?你如何在R?中实施巴纳德测试?
编辑:
install.packages("精确&#34)
它提供以下信息
Warning: unable to access index for repository https://mirror.aarnet.edu.au/pub/CRAN/src/contrib
Warning: unable to access index for repository https://mirror.aarnet.edu.au/pub/CRAN/bin/windows/contrib/3.2
Warning message:
package ‘Exact’ is not available (for R version 3.2.2)
库(精确)
库中的错误(确切):没有名为“Exact”的包
答案 0 :(得分:1)
您输入了以下完全吗? (看我在那里做了什么)
install.packages("Exact")