美文网首页
1127 chapter 19

1127 chapter 19

作者: 森尼啊 | 来源:发表于2018-11-27 09:07 被阅读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_*()

相关文章

网友评论

      本文标题:1127 chapter 19

      本文链接:https://www.haomeiwen.com/subject/dvywqqtx.html