interact: 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 interaction effects

Usage

1
interact(allsim, dataset, exposures, confounders, squem)

Arguments

allsim

dataset with all simulations values

dataset

dataset with all variables

exposures

a vector with exposures

confounders

a vector with confounders

squem

squeme of the values of the prediction values

Value

data frame with interaction values

Examples

1
2
3
4
5
6
7
8
9
data(expose_data)
data(simu)
data(gen)
delta=c(1,0)
seku <- seq(0,1,0.05)
Exposures<- c('Var1','Var2','Var3','Var4','Var5')
summary_table_lines <- gen[[2]]
it <- interact (allsim = simu[[1]], dataset = expose_data,exposures = Exposures,
confounders = c('sex'), squem = summary_table_lines)

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