Closed IndrajeetPatil closed 3 years ago
set.seed(123)
ggstatsplot:::mean_labeller(
data = ToothGrowth,
x = supp,
y = len,
mean.ci = TRUE
)$label
#> [1] "list(~italic(widehat(mu))==20.663,CI[95*'%']*'['*18.247,22.808*']')"
#> [2] "list(~italic(widehat(mu))==16.963,CI[95*'%']*'['*14.143,19.884*']')"
set.seed(123)
ggstatsplot:::mean_labeller(
data = ToothGrowth,
x = supp,
y = len,
mean.ci = TRUE
)$label
#> [1] "list(~italic(widehat(mu))==20.663,CI[95*'%']*'['*18.247,22.808*']')"
#> [2] "list(~italic(widehat(mu))==16.963,CI[95*'%']*'['*14.143,19.884*']')"
Created on 2020-10-30 by the reprex package (v0.3.0.9001)
Seems like this has something to do with bf.message = TRUE
, because the difference disappears here:
# without
set.seed(123)
ggstatsplot::ggbetweenstats(
data = ToothGrowth,
x = supp,
y = len,
plot.type = "box",
mean.ci = TRUE,
results.subtitle = FALSE,
bf.message = FALSE,
k = 3
)
# with
set.seed(123)
ggstatsplot::ggbetweenstats(
data = ToothGrowth,
x = supp,
y = len,
plot.type = "box",
mean.ci = TRUE,
bf.message = FALSE,
k = 3
)
Created on 2020-12-10 by the reprex package (v0.3.0)
Never mind.
# without
set.seed(123)
ggstatsplot::ggbetweenstats(
data = ToothGrowth,
x = supp,
y = len,
type = "np",
plot.type = "box",
mean.ci = TRUE,
results.subtitle = FALSE,
k = 3
)
# with
set.seed(123)
ggstatsplot::ggbetweenstats(
data = ToothGrowth,
x = supp,
y = len,
type = "np",
plot.type = "box",
mean.ci = TRUE,
k = 3
)
Created on 2020-12-10 by the reprex package (v0.3.0)
The whole CI functionality was retired in https://github.com/IndrajeetPatil/ggstatsplot/commit/dbf1fd7f30b889275dae0ef4fc5784f85a311d65, so this is no longer a valid issue.
Created on 2020-10-30 by the reprex package (v0.3.0.9001)