阅读背景:

R语言-箱型图&热力图

来源:互联网 

1.箱型图

boxplot()函数

> metals<-read.csv("metals.csv",header=TRUE)                  #读取文件和列名
> boxplot(metals,                                             #数据集
+ xlab="Metals",                                              #设置X轴标题
+ ylab="Atmospheric Concentration in ng per cubic metre",     #设置Y轴标题
+ main="Atmospheric Metal Concentrations in London")          #设置图标题
> metals<-read.csv("m



你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: