makeData: makeData

View source: R/newSim.R

makeDataR Documentation

makeData

Description

A function to simulate data for use in the simulation study. The function can be used to generate observed data or data from an intervened SCM; the latter is achieved via the setA option.

Usage

makeData(n, b = 0.5, b0 = 1, ba = -0.25, rho = 0.05, setA = NULL)

Value

A list with L0, A0, L1, A1, L2 to input into drinf.tmle.


benkeser/drinf documentation built on Oct. 22, 2023, 9:50 a.m.