Rのdplyrやggplot2で列の名前を変数で指定する方法(specify dynamic column name by variable in dplyr and ggplot2) - Qiita

dplyrで列名を変数で与えるRのdplyrでデータを加工する際、summarise,filter,mutateなどの関数の中で、加工の対象となる列名を変数で与えたいときがあります。例えば以下…