1、用R画直方图,语言如下:x<-c(2,4,5,7,9,33,23,22)hist(x,main="histogram of x")
2、用R画箱形图,语言如下:x<-c(2,4,5,7,9,33,23,22)bo垓矗梅吒xplot(x,main="distribution of x")
3、用R画条形图,语言如下:x<-c(2,4,5,7,9,33,23,22)barplot(x,main="distribution of x")
时间:2024-10-16 15:48:05
1、用R画直方图,语言如下:x<-c(2,4,5,7,9,33,23,22)hist(x,main="histogram of x")
2、用R画箱形图,语言如下:x<-c(2,4,5,7,9,33,23,22)bo垓矗梅吒xplot(x,main="distribution of x")
3、用R画条形图,语言如下:x<-c(2,4,5,7,9,33,23,22)barplot(x,main="distribution of x")