print.bmbstats: S3 method for printing 'bmbstats' results

Description Usage Arguments Examples

View source: R/bmbstats-S3.R

Description

S3 method for printing bmbstats results

Usage

1
2
## S3 method for class 'bmbstats'
print(x, ...)

Arguments

x

Object of class bmbstats

...

Extra arguments. Not used

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
x <- bmbstats(iris,
  SESOI_lower_function = function(data, na.rm, init_boot) {
    sd(data$Sepal.Length) * -0.2
  },
  SESOI_upper_function = function(data, na.rm, init_boot) {
    sd(data$Sepal.Length) * 0.2
  },
  estimator_function = function(data, SESOI_lower, SESOI_upper, na.rm, init_boot) {
    list(mean = mean(data$Sepal.Length), SESOI_lower = SESOI_lower, SESOI_upper = SESOI_upper)
  },
  control = model_control(boot_type = "perc", boot_samples = 50)
)
x

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