Created
February 15, 2018 18:48
-
-
Save brunaw/bf3b055207a475794b3e13c3f90167eb to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ggplot(data.frame(x = c(0, 1)), aes(x)) + | |
stat_function(fun=function(x){ | |
dgunit(y = x, mu = mu, phi = phi) | |
}, color = "red2", size = 1.3) + | |
guides(fill = FALSE) + | |
theme_minimal() + | |
ylab(expression("f(y)")) + | |
xlab(expression(y)) + | |
theme( | |
axis.title.x = element_text(size = 16), | |
axis.title.y = element_text(size = 16) | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment