Learn R Programming

causalPAF (version 1.2.5)

do_sim: Makes Formula

Description

Given a causal

Usage

do_sim(model, dataframe)

Value

dataframe

dataframe

Arguments

model

A fitted mediator regression model

dataframe

Data frame containing data to be analysed. The data frame has cases in rows and variables in columns.

Examples

Run this code
if (FALSE) {
# I don't want you to run this
}

Run the code above in your browser using DataLab