如何使用变量来指定ggram中的列名
ggplot( rates.by.groups, aes(x=name, y=rate, colour=majr, group=majr) )
f <- function( column ) { ... ggplot( rates.by.groups, aes(x=name, y=rate, colour= ??? , group=??? ) )}
ggplot( rates.by.groups, aes(x=name, y=rate, colour=majr, group=majr) )
ggplot( rates.by.groups, aes(x=name, y=rate, colour=gender, group=gender) )
ggplot( rates.by.groups, aes(x=name, y=rate, colour= columnName , group=columnName ) )
e <- environment() ggplot( rates.by.groups, aes(x=name, y=rate, colour= columnName , group=columnName ), environment=e )
慕田峪9158850
HUWWW