R和统计 3:ggplot2
摘要:
1. qplotlibrary(ggplot2)dsmall <- diamonds[sample(nrow(diamonds), 100), ]# relationshipqplot(carat, price, data = diamonds)qplot(carat,x*y*z,data = diamonds)# colour, shapeqplot(carat, price, data = dsmall, colour = color)qplot(carat, price, data = dsmall, shape = cut)# opaqueqplot(carat, price, 阅读全文
posted @ 2014-01-03 18:30 surghost 阅读(522) 评论(0) 推荐(0) 编辑