Plot Bayesian test for no adverse shift.
# S3 method for outlier.bayes
plot(x, ...)
A outlier.bayes
result from test of no adverse shift.
Placeholder to be compatible with S3 method plot
.
A ggplot2 plot with outlier scores and p-value.
Other s3-method:
plot.outlier.test()
,
print.outlier.bayes()
,
print.outlier.test()
# \donttest{
set.seed(12345)
os_train <- rnorm(n = 3e2)
os_test <- rnorm(n = 3e2)
test_to_plot <- bf_from_os(os_train, os_test)
plot(test_to_plot)
# }