make_data_for_figure_4_1: Simulate data that corresponds to Figure 4.1 from Morgan &...

Description Usage Arguments Value

View source: R/simulation.R

Description

Data generation

Usage

1
make_data_for_figure_4_1(n, seed = sample.int(.Machine$integer.max, 1))

Arguments

n

number of observations

seed

RNG seed

Value

data.table with potential outcomes


jianzih/causalA16 documentation built on May 19, 2019, 9:29 a.m.