https://support.rstudio.com/hc/en-us/articles/201057987-Quick-list-of-useful-R-packages
获取数据:
1. DBI: R与关系数据库连接的基本包;
2. odbc: 利用odbc driver连接数据库;
3. RMySQL, RPostgreSQL, RSQLite: R与特定数据库连接的工具;
4. XLConnect, xlsx, openxlsx R与excel连接的工具;
5. foreign, haven R与SAS, SPASS, STATA连接工具;
数据基本处理:
tidyverse, dplyr, tidyr, stringr, lubridate
数据可视化:
ggplot2, ggvis, rgl, htmlwidgets,
leaflet(maps)
dygraphs(time series)
DT(tables)
diagrammeR (diagrams)
network3D(network graphs)
threeJS (3D scatterplots and globes)
googleVis(Google Chart tools)
统计相关模型
tidymodels,
car - anova
mgcv - Generalized Additive Models
lme4/nlme - Linear and Non-linear mixed effects models
randomForest - Random forest methods from machine learning
multcomp - multiple comparison testing
vcd - Visualization tools and tests for categorical data
glmnet - Lasso and elastic-net regression methods with cross validation
survival - Tools for survival analysis
caret - Tools for training regression and classification models
结果呈现
shiny
Rmarkdown
xtable
空间数据
sp, maptools, maps, ggmap
时间序列数据
zoo,xts,quantmod,forecast
高性能代码
Rcpp
data.table
parallel
网络数据
XML
jsonlite
httr