【发布时间】:2018-03-01 14:26:27
【问题描述】:
我想在一个图中有四个子图
其中一个是茎叶图
我的代码是这样的:
attach(mtcars)
par(mfrow=c(2,2))
hist(df, main="Histogram of df",breaks=10, xlab="birth weight (oz)", col="orange")
hist(df, main="Histogram of wt",prob = TRUE,breaks=50,xlab="birth weight (oz)", col="green")
boxplot(df, main="Boxplot",col = "yellow")
stem(data)
这给了我以下错误
“以下对象已从包中屏蔽”
在我的图中没有显示主图,在最后一个子图中它是空的
感谢您的帮助
【问题讨论】: