2017年9月24日

摘要: > dotchart(mtcars$mpg, labels=row.names(mtcars), cex=.7, + main="Gas Mileage for Car Models", + xlab="Miles Per Gallon") > > x x$cyl x$color[x$cyl==4] x$color[x$cyl==6] x$col... 阅读全文
posted @ 2017-09-24 23:54 你的踏板车要滑向哪里 阅读(262) 评论(0) 推荐(0) 编辑
摘要: 1. 使用并列箱型图进行跨组比较 2. 小提琴图 阅读全文
posted @ 2017-09-24 23:43 你的踏板车要滑向哪里 阅读(668) 评论(0) 推荐(0) 编辑
摘要: > par(mfrow=c(2, 1)) > d > plot(d) > > d plot(d, main="kernel density of miles per gallon") > polygon(d, col="red", border="blue") > rug(mtcars$mpg, col="brown") > > par(lwd=2) > library(sm) ... 阅读全文
posted @ 2017-09-24 22:52 你的踏板车要滑向哪里 阅读(877) 评论(0) 推荐(0) 编辑
摘要: > par(mfrow=c(2, 2)) > > hist(mtcars$mpg) > > hist(mtcars$mpg, breaks=12, col="red", xlab="miles per gallon", + main="colored histogram with 12 bins") > > hist(mtcars$mpg, freq=FALSE, breaks=... 阅读全文
posted @ 2017-09-24 22:01 你的踏板车要滑向哪里 阅读(402) 评论(0) 推荐(0) 编辑
摘要: 2. 饼图 阅读全文
posted @ 2017-09-24 17:45 你的踏板车要滑向哪里 阅读(407) 评论(0) 推荐(0) 编辑

导航