make_bootFUN: make_bootFUN

Description Usage Arguments

View source: R/mediations.R

Description

make_bootFUN

Usage

1
make_bootFUN(x, path = c("a", "b"), is.null.model = F)

Arguments

x

A permediatrMod object with the full mediation specification.

path

Which path is being bootstrapped, the 'a' path, or the 'b' path?

is.null.model

Should the boot FUN expect to get a null model without the effect of interest? Set this to true of you're doing parametric or semiparametric bootstrapping for the nil null distribution. The make_null_formula should be used to create the null model to be the basis for (semi-)parametric simulation.


jflournoy/permediatr documentation built on Dec. 10, 2019, 11:34 a.m.