plot.outlier.test {dsos}R Documentation

Plot frequentist test for no adverse shift.

Description

Plot frequentist test for no adverse shift.

Usage

## S3 method for class 'outlier.test'
plot(x, ...)

Arguments

x

A outlier.test result from test of no adverse shift.

...

Placeholder to be compatible with S3 method plot.

Value

A ggplot2 plot with outlier scores and p-value.

See Also

Other s3-method: plot.outlier.bayes(), print.outlier.bayes(), print.outlier.test()

Examples


set.seed(12345)
os_train <- rnorm(n = 3e2)
os_test <- rnorm(n = 3e2)
test_to_plot <- at_from_os(os_train, os_test)
# Also: pt_from_os(os_train, os_test) for permutation test
plot(test_to_plot)



[Package dsos version 0.1.2 Index]