转至链接:
https://cran.r-project.org/web/packages/epicalc/index.html
你会得到消息:
Package ‘epicalc’ was removed from the CRAN repository.
Formerly available versions can be obtained from the archive.
Archived on 2015-05-12 as requested by the maintainer <[email protected]>.
但没有进一步给出解释。这似乎是一个很好的发展和有用的包,那么它为什么会被删除?
它看起来大部分来自epicalc
材料已移入epiDisplay
。
该epiDisplay package information说:
包数据探索和结果呈现。全“epicalc”包与数据管理功能,可在笔者的存储库。
(虽然它不给的链接)。
devtools::install_version("epicalc",version="2.15.1.0")
install.packages("epiDisplay")
library("epicalc")
library("epiDisplay")
c1 <- ls("package:epicalc")
d1 <- ls("package:epiDisplay")
在epicalc
但不epiDisplay
:
setdiff(c1,d1)
## [1] "addMissingRecords" "adjust" "auc"
## [4] "be2ad" "detachAllData" "expand"
## [7] "fillin" "keepData" "label.var"
## [10] "lagVar" "markVisits" "merge.lab"
## [13] "pack" "print.summ" "recode"
## [16] "recode.default" "recode.is.na" "ren"
## [19] "rename" "rename.default" "rename.pattern"
## [22] "rename.var" "sortBy" "tally.events"
## [25] "unclassDataframe" "use" "zap"
在epiDisplay
但不epicalc
:
setdiff(d1,c1)
## [1] "print.summ.data.frame" "print.summ.default" "summ.data.frame"
## [4] "summ.default" "summ.factor" "summ.logical"
编辑:
“epicalc”已经从CRAN消失。它已被根据我的请求,R-核心团队存档。其原因是,CRAN已成立了一个政策,不能让任何包装上做任何事情.GlobalEnv而epicalc这是否广泛。
他们接着说:
哪一个更好? “epicalc”或“epiDisplay”
对于那些谁熟悉epicalc,如果没有这些数据库功能,你需要回到平淡如常R里面的函数。这会让你放慢脚步实质上,尤其是在数据清洗和处理。我建议你应该从我们的网站上安装epicalc(如上图所示),不要borther关于“epiDisplay”对于谁从未使用过epicalc,不想学习epicalc数据库函数R用户,“epiDisplay”很简单,还是应该在数据探索和结果显示是非常有用的。