ggplot2 method for oneMeanTest objects
autoplot.oneMeanTest.RdCreates ggplot2 visualizations of test results
Usage
autoplot.oneMeanTest(
data,
type = c("distribution", "ci", "qq", "diagnostic"),
theme = ggplot2::theme_minimal(),
...
)Examples
if (FALSE) { # \dontrun{
library(ggplot2)
x <- rnorm(30, mean = 5, sd = 2)
result <- one_mean_test(x, mu0 = 5)
autoplot(result, type = "distribution")
} # }