dot-get_contrast: Contrast two potential outcome means

.get_contrastR Documentation

Contrast two potential outcome means

Description

Contrast two potential outcome means

Usage

.get_contrast(a, b, type)

Arguments

a

The mean of the first potential outcome.

b

The mean of the second potential outcome.

type

The type of contrast. Options allowed: "MD", "MR", "OR".

Value

The contrast value.


trangnguyen74/tnMediation documentation built on May 3, 2023, 6:58 a.m.