→ celestialgod: select_(data1, .dots = data$name) 10/12 14:58
→ celestialgod: 記得data$name的type要是character 10/12 14:58
→ celestialgod: 如果是factor記得用as.character 10/12 14:58
→ celestialgod: select_提供字串eval的功能,要更強大功能非學不可 10/12 14:59
→ celestialgod: 還有mutate_, filter_, summarise_等 10/12 14:59
謝C大 已學習
那請問反過來,"不要"這些字串的欄位名稱,該如何打...
剛剛試了一下select_(data1, .dots = -data$name)是錯的@_@
※ 編輯: gbd37 (60.248.4.126), 10/12/2015 15:16:48
→ celestialgod: select_(data1, .dots = paste0("-", data$name)) 10/12 15:19
→ celestialgod: 記得它是eval這些字串 10/12 15:20
→ celestialgod: 你原本怎麼打就要用怎樣的字串 10/12 15:20
謝謝 我會注意的 已學習
※ 編輯: gbd37 (60.248.4.126), 10/12/2015 15:24:55