Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CI.lty option no applied in CIcdfplot (ggplot plotstyle) #17

Closed
milena-kaag opened this issue Jan 13, 2023 · 1 comment
Closed

CI.lty option no applied in CIcdfplot (ggplot plotstyle) #17

milena-kaag opened this issue Jan 13, 2023 · 1 comment

Comments

@milena-kaag
Copy link

Hello again,

Thank you very much for your quick answer last time.
I noticed something else while using the ggplot outputs of the package. The CI.lty argument in the CIcdfplot function does not seem to have any effect. I looked a bit at the function code and it seems that it was just left out of the geom_line() calls when constructing the intervals, so it should be an easy fix 🙂

library(fitdistrplus)
library(ggplot2)

set.seed(123)
s1 <- rexp(50, 1)
f1 <- fitdist(s1, "exp")
b1 <- bootdist(f1, niter= 11) #voluntarily low to decrease computation time
# Create CIcdfplot with solid CI limit lines
CIcdfplot(b1, CI.output = "probability", CI.fill = "#d3d3d3", CI.lty = 1, plotstyle = "ggplot")

image

@aursiber
Copy link
Member

Thanks for the report!
Fixed in 3a70f6a

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants