Skip to contents

Additive component network meta-analysis

Usage

network_component_meta(
  object,
  inactive = NULL,
  sep_components = "+",
  C_matrix = NULL,
  level = 0.95
)

Arguments

object

A fitted nma_mars object.

inactive

Optional component with no active effect. Rows containing the inactive component are retained, but the inactive component column is removed from the additive model.

sep_components

Separator used to split treatment names into components. Defaults to "+".

C_matrix

Optional treatment-by-component matrix. Row names must match object$treatments.

level

Confidence level for component and fitted-combination intervals.

Value

A cnma_mars object with component effects, fitted treatment combinations, the C matrix, and additive model diagnostics.

Examples

if (FALSE) { # \dontrun{
cnma_fit <- network_component_meta(nma_fit)
cnma_fit$component_effects
} # }