Hey there stackoverflow geeks, I am working with a dataset in R language using R studio. I want to display my pareto charts side by side so better analysis can be done.
When I use par() function , i only get the first plot with an empty white space on right, can anyone please help me with what the issue is?
library(qcc)
stateRegion <- table(state.region)
stateDivision <- table(state.division)
par(mfrow=c(1,2))
pareto.chart(stateRegion) #only this one appears
pareto.chart(stateDivision) #this one is not plotting
EDIT The code is working with all other plots except pareto chart/plot. Please help.