Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
require(ggplot2)
# Figure 1
ggplot(GermanCredit, aes(x = Class)) +
geom_bar(aes(y = (..count..)/sum(..count..))) +
labs(y = "prob.")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment