Learn R Programming

regmedint (version 1.0.1)

prop_med_yreg_linear: Calculate the proportion mediated for yreg linear.

Description

Calculate the proportion mediated on the mean difference scale.

Usage

prop_med_yreg_linear(pnde, tnie)

Value

Proportion mediated value.

Arguments

pnde

Pure natural direct effect.

tnie

Total natural indirect effect.