sinhrks / ggfortify

Define fortify and autoplot functions to allow ggplot2 to handle some popular R packages.
Other
527 stars 65 forks source link

Update fortify_stats_density.R #222

Closed axjadamson closed 2 years ago

axjadamson commented 2 years ago

Fixed the bug that prevent labelling of the plot.

axjadamson commented 2 years ago

I don't think I can add a picture, but if you run the code below you will see that a graph is made that has a label for the x-axis.

p <- ggdistribution(dnorm, seq(-1, 1, 0.01), mean = -0.1655, sd = 0.0844, colour = 'blue', xlab = "Coefficient estimate")

p