教你快速的使用ggplot2画热图

1.导入须要的packagescss library(ggplot2) require(reshape2) require(scales) 2.导入数据:web nba <- read.csv("http://datasets.flowingdata.com/ppg2008.csv") nba$Name <- with(nba, reorder(Name, PTS)) > head(nba)
相关文章
相关标签/搜索