1127 chapter 19

  • 列表列: 作为中间数据结构
  • 创建列表列
    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)