R語言_第五章

plot函數 plot(x,y,xlab=,ylab=) plot的第一個參數顯示在水平軸上,第二個參數顯示在縱軸上 習慣上垂直軸繪製反應變量,水平軸繪製解釋變量 plot(x=Veg$ BARESOIL,y=Veg$ R,xlab=「Exposed soil」,ylab=「Species richness」,main=「Scatter plot」,xlim=c(0,45),ylim=(4,19)
相關文章
相關標籤/搜索