tidyverse简介
tidyverse简介
安装
会将ggplot2、dplyr、tidyr、readr、purrr、tibble等经常使用的包打包安装好
# install.packages("devtools")
devtools::install_github("hadley/tidyverse")
使用
library(tidyverse)
## Loading tidyverse: ggplot2
## Loading tidyverse: tibble
## Loading tidyverse: tidyr
## Loading tidyverse: readr
## Loading tidyverse: purrr
## Loading tidyverse: dplyr
## Conflicts with tidy packages ----------------------------------------------
## filter(): dplyr, stats
## lag(): dplyr, stats
查看函数冲突
tidyverse_conflicts()
## Conflicts with tidy packages ----------------------------------------------
## filter(): dplyr, stats
## lag(): dplyr, stats
包更新
tidyverse_update()
评论
发表评论