par(mfrow=c(2,2))
plot(x, y, xlab = "", ylab = "")
hist(x,main='')
qqnorm(x,main = '');qqline(x)
barplot...0代表空缺,不绘制图形,大于0 的数代表绘图顺序,相同数字代表占位符。
widths 和 heights 参数提供了各个矩形作图区域的长和宽的比例。...respect 参数控制着各图形内的横纵轴刻度长度的比例尺是否一样。
n 参数为欲显示的区域的序号。
生成2行2列的版面,并设置宽度和高度。...再将各个图进行填充
plot(x, y, xlim = xrange, ylim = yrange, xlab = "", ylab = "")
barplot(xhist$counts, axes =...# Make 3 simple graphics:
g1 <- ggplot(mtcars, aes(x=qsec)) + geom_density(fill="slateblue")
g2 <- ggplot