library(ggplot2) ##須先安裝install.packages("ggplot2"). 首先先產生教學用畫圖資料. df <- data.frame(gp = factor(rep(letters[1:3], each = 10)),y = rnorm(30)).
確定! 回上一頁