> require(ggplot2)
Loading required package: ggplot2
Attaching package: ‘ggplot2’
The following object is masked _by_ ‘.GlobalEnv’:
diamonds
> attach(diamonds)
The following objects are masked _by_ .GlobalEnv:
x, y
> #geom几种不同参数的不同图形样式效果以及示例图形
> #如果数据是单维的连续性数据,则geom的默认值就是'histogram'
> #如下例:
> qplot(carat,colour='red')
stat_bin: binwidth defaulted to range/30. Use 'binwidth = x' to adjust this.
>

> #如果qplot命令中包含x,y数据,且都
Loading required package: ggplot2
Attaching package: ‘ggplot2’
The following object is masked _by_ ‘.GlobalEnv’:
> attach(diamonds)
The following objects are masked _by_ .GlobalEnv:
> #geom几种不同参数的不同图形样式效果以及示例图形
> #如果数据是单维的连续性数据,则geom的默认值就是'histogram'
> #如下例:
> qplot(carat,colour='red')
stat_bin: binwidth defaulted to range/30. Use 'binwidth = x' to adjust this.
>
> #如果qplot命令中包含x,y数据,且都
