ime: Main function

Description Usage Arguments Value

View source: R/ime.R

Description

Main function

Usage

1
ime(index, u, AA, type, form, data)

Arguments

index

is the mediator of interest

u

is the state vector

AA

is the transition matrix

type

the type of outcome

form

specify the regression form for outcome

data

is the n by (p+2+q) data matrix

Value

mediation effects


jiezhou-2/imediation documentation built on Dec. 21, 2021, 12:04 a.m.