# 使用下方语句安装所有推荐的程序包
install.packages(pkgs = c(
# 方差分析
"afex",
# 潜变量分析
"lavaan","blavaan","semTools","simsem",
# 回归分析样本量计划
"BUCSS","car",
# 效应量
"effectsize",
# 估计边缘平均数,事后比较
"emmeans",
# 数据读取
"tidyverse","haven","readxl",
# 简单斜率分析
"interactions",
# 回归分析的结果报告
"jtools",
# 回归分析的效应量PRE,
"Keng", # more flexible than supernova package,
# 混合效应模型
"lme4","lmerTest","nlme",
# 时间变量的处理
"lubridate",
# 元分析
"metafor","metaSEM",
# Modern Applied Statistics with S
"MASS",
# 信度及其置信区间
"MBESS",
# 统计检验力
"pwr",
# 似然比检验
"SBSDiff",
# 文本挖掘
"jiebaR",
"jiebaRD",
"text2vec",
"tmcn",
"wordcloud2",
"htmlwidgets",
# R文档
"rmarkdown",
"kableExtra"
))
R包
R Packages