r - Same code different plot in qplot vs ggplot -
i different results, code should equivalent?
qplot(x = price, data = diamonds) + facet_wrap(~cut)
vs
ggplot(aes(x = diamonds$price), data = diamonds) + geom_histogram() + facet_wrap(~cut)
try instead
ggplot(aes(x = price), data = diamonds) + geom_histogram() + facet_wrap(~cut)
Comments
Post a Comment