View source: R/broom_methods.R
| glance.robmedfit | R Documentation |
Returns a one-row summary of the fit: sample size, bootstrap reps, reference dose, percentage mediated, and the two tipping-point sensitivity values.
## S3 method for class 'robmedfit'
glance(x, ...)
x |
A |
... |
Ignored. |
A one-row data frame.
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.