glance.robmedfit: Glance at a robmedfit object (broom-compatible)

View source: R/broom_methods.R

glance.robmedfitR Documentation

Glance at a robmedfit object (broom-compatible)

Description

Returns a one-row summary of the fit: sample size, bootstrap reps, reference dose, percentage mediated, and the two tipping-point sensitivity values.

Usage

## S3 method for class 'robmedfit'
glance(x, ...)

Arguments

x

A robmedfit object.

...

Ignored.

Value

A one-row data frame.

Examples


fit <- robustmediate(
  treatment_formula = X ~ Z1 + Z2 + Z3,
  mediator_formula  = M ~ X + Z1 + Z2 + Z3,
  outcome_formula   = Y ~ X + M + Z1 + Z2 + Z3,
  data = sim_mediation, R = 50
)
glance(fit)



RobustMediate documentation built on April 16, 2026, 5:08 p.m.