Hello all, my group and I trying to analyze our data frame in which most data types are factors. On one of our columns there are 6 types of factors (1,2,3,4, 9999 and blank(" ") we want to plot a bar graph with the following code, however when we do it, the bar graph gives us a bar for 1,2,3,4 9999 and also for blank , we want to ignore 9999 and the blank as factors, what code can we use? thanks in advance.
plot(tab_catalog)
barplot(tab_catalog)
barplot(prop.table(tab_catalog))
barplot(prop.table(tab_catalog),col=c("red", "orange"),
main="Distribution of Customers by Catalog Years",
ylim=c(0,1))
box(lwd=2)