Skip to contents

Primary network meta-analysis alternative-estimation function

Usage

network_alt_estimation(type = c("bootstrap", "jackknife", "permutation"), ...)

Arguments

type

Type of alternative estimation to use.

...

Additional arguments passed to the selected network resampling replicate function.

Value

A list of fitted "nma_mars" replicate objects.

Examples

# \donttest{
nma_dat <- data.frame(
  study = c("S1", "S2", "S3", "S4"),
  treatment_1 = c("A", "A", "B", "A"),
  treatment_2 = c("B", "C", "C", "B"),
  effect = c(0.20, 0.35, 0.10, 0.15),
  variance = c(0.04, 0.05, 0.04, 0.06)
)

nma_reps <- network_alt_estimation(
  type = "bootstrap",
  number_bootstraps = 2,
  data = nma_dat,
  study_id = "study",
  treatment_1 = "treatment_1",
  treatment_2 = "treatment_2",
  effect = "effect",
  variance = "variance",
  model_type = "wls"
)
# }