## plot the density
ggplot(data.frame(x = c(0, 10)),
aes(x)) +
stat_function(fun = dburrXII,
args = list(scale = 5,
shape1 = .25,
shape2 = .75),
colour = 'royalblue4') +
labs(x = '',
y = 'Density') +
theme_classic()
Run the code above in your browser using DataLab