I want to have four subplot in one figure
one of them is a stem-leaf plot
My code like this :
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)
And this gives me the following error
"The following object is masked from package"
and the stem plot does not show in my figure it is empty in the last subplot
THANKS for your help