This is my barplot
ggplot( diamonds, aes(clarity , price) ) +
geom_bar(stat = "identity")
I am not able to convert the Y axis exponential display to regular numbers
Do not want scientific notation on plot axis
I have tried the scipen and format function as well
ggplot( diamonds, aes(clarity , b) , options(scipen=10)) +
geom_bar(stat = "identity")
b <- diamonds$price
formatC(b , format = "d")
a <- ggplot( diamonds, aes(clarity , b)) +
geom_bar(stat = "identity")
This is not a duplicate so kindly don't mark as duplicate as i have tried all the other options I came accross. Please help if I am making any mistake or suggest an answer.