如何使用R繪製簡單的頻率直方圖?

v<-read.table("aa.txt")     讀取文件中的內容  hist(v[,1],xlab = "Weight",col = "green",border = "red", ylim = c(0,20),breaks=200)   繪製頻率直方圖 v[,1]  查看文件中的內容 *文件格式內容如下:     
相關文章
相關標籤/搜索