R语言学习(三)图形初阶

(一)使用图形 > attach(mtcars) > plot(wt,mpg) > abline(lm(mpg~wt)) > title("Regression of MPG On Weight") > detach(mtcars) dose <- c(20,30,40,45,60) drugA <- c(16,20,27,40,60) drugB <- c(15,18,25,31,40) plo
相关文章
相关标签/搜索