1127 chapter 19
2018-11-27 本文已影响0人
森尼啊
- 列表列: 作为中间数据结构
- 创建列表列
nest(), summarize()+ lise(),mutate()
创建列表列
嵌套
tidyr::nest()
向量化函数
stringr::str_split()
mutate()
tidyr::separate_rows()
多值摘要
summarize(q = list(quantile(mpg)))
简化列表列
map_chr(x,"apple")从x中提取变量apple中的内容
map_*()