plot.bmbstats_MET: S3 method for plotting 'bootstrap_MET' results

Description Usage Arguments Examples

View source: R/MET-S3.R

Description

S3 method for plotting bootstrap_MET results

Usage

1
2
## S3 method for class 'bmbstats_MET'
plot(x, type = "CI", ...)

Arguments

x

Object of class bmbstats_MET

type

What test to plot? Options are "inferiority", "non-superiority", "equivalence", "non-inferiority", "superiority", "CI". Default is "CI"

...

Extra arguments. Use plot_control for plotting options

Examples

1
2
3
4
5
6
7
8
9
mean_MET <- bootstrap_MET(
  describe_data(rnorm(10, 100, 20)),
  estimator = "mean",
  SESOI_lower = 95,
  SESOI_upper = 105,
  alpha = 0.05
)
mean_MET
plot(mean_MET)

mladenjovanovic/bmbstats documentation built on Aug. 5, 2020, 4:20 p.m.