naive_ace: Extract the information from the simulation data frame to...

Description Usage Arguments Value Examples

Description

Extract the information from the simulation data frame to analyse the naive causal effects

Usage

1
2
naive_ace(allsim, dataset, exposures, delta = c(0, 1), ic_dis = "IC",
  st)

Arguments

allsim

dataset with all simulations values

dataset

dataset with all variables

exposures

a vector with exposures

delta

a vector with two values

ic_dis

choose between ic (interval confidences) and dis (distribution)

st

summary table from general function

Value

a data frame with naive ace and confident intervals

Examples

1
2
3
4
5
6
7
8
9
data(expose_data)
data(simu)
data(gen)
delta=c(1,0)
Exposures<- c('Var1','Var2','Var3','Var4','Var5')
summary_table_lines <- gen[[2]]
ace.df.g <- naive_ace (allsim = simu[[1]], dataset = expose_data,
ic_dis = 'IC', st = summary_table_lines,
exposures = Exposures, delta = delta)

expose documentation built on May 16, 2019, 5:07 p.m.