Skip to contents

Generic bootstrap CI wrapper for any effect-size function

Usage

bootstrap_effect_size_ci(
  func,
  ...,
  n_boot = 2000L,
  confidence = 0.95,
  seed = 42L
)

Arguments

func

A function taking one or more numeric vectors, returning a scalar.

...

Numeric vectors to bootstrap, in func's argument order.

n_boot

Bootstrap replicates (default 2000).

confidence

Confidence level. Default 0.95.

seed

RNG seed. Default 42.

Value

A morie_effect_size.