安裝ggplot2. install.packages("ggplot2"). library(ggplot2). #定義資料. df = 檔案名稱. #繪製點狀圖. qplot(diamonds$carat, diamonds$price).
確定! 回上一頁