print.PAmediation: Print results of mediation

View source: R/print.PAmediation.R

print.PAmediationR Documentation

Print results of mediation

Description

Print the results of the mediation function.

Usage

## S3 method for class 'PAmediation'
print(x, ...)

Arguments

x

An object of class "PAmediation".

...

Further arguments for other methods, ignored for "mediation".

Examples

## Not run: 
results <- mediation(model = y ~ m2 ~ m1 ~ x, data = medEX, standardized = TRUE)
print(results)

## End(Not run)

quantmeth/pathanalysis documentation built on Aug. 6, 2023, 8:56 a.m.