simulate_observational_data: Simulate an observational study

Description Usage Arguments Value

View source: R/simulation.R

Description

This study will all individuals to select their treatment value based on their potential outcomes

Usage

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

Arguments

n

number of individuals

seed

integer value for random seed

Value

data.table with potential outcomes


jianzih/causalA16 documentation built on May 17, 2017, 9:19 p.m.