Predict treatment contrasts from a fitted network_meta model

# S3 method for class 'nma_mars'
predict(
  object,
  newdata,
  se.fit = FALSE,
  interval = c("none", "confidence"),
  level = 0.95,
  treatment_1 = "treatment_1",
  treatment_2 = "treatment_2",
  ...
)

Arguments

object

A fitted nma_mars object.

newdata

Data frame containing treatment_1 and treatment_2 columns for contrasts to predict.

se.fit

Logical; if TRUE, returns an approximate prediction standard error.

interval

Type of interval; one of "none" or "confidence".

level

Confidence level for intervals.

treatment_1, treatment_2

Column names used in newdata.

...

Unused.

Value

Data frame with predicted contrast estimates and optional uncertainty.