Learn R Programming

multimediate (version 0.1.4)

summary.mm: summary.mm

Description

summary.mm is used to display the results of the mediation analyzes done with multimediate.

Usage

# S3 method for mm
summary(object, opt = "navg", logit = "all", ...)

Value

table summarizing the causal analysis

Arguments

object

element of the class mm.

opt

a character string indicating the details of the analysis "navg" for the average causal effects for t=0,1 and "avg" for the average causal effects.

logit

a character string indicating, when the outcome is binary, the scale of the average causal effects. "effects" for average causal effects, " OR" average causal effects on OR scale, "logOR" average causal effects on logOR scale and "all" for all scale.

...

additional arguments affecting the summary produced