Learn R Programming

expose (version 0.0.3)

ice: Extract the information from the simulation data frame to analyse the individual conditional expectation

Description

Extract the information from the simulation data frame to analyse the individual conditional expectation

Usage

ice(allsim, dataset, dr = seq(0, 1, 0.1), squem, remove_extrem = FALSE)

Arguments

allsim

dataset with all simulations values

dataset

dataset with all variables

dr

a vector with dose response values

squem

squeme of the values of the prediction values

remove_extrem

boolean parameter to remove the extrem values

Value

a data frame with interactions

Examples

Run this code
# NOT RUN {
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]]
ice_res <- ice(allsim = simu[[1]], dataset = expose_data, dr = seku, 
squem = summary_table_lines, remove_extrem = FALSE)
# }

Run the code above in your browser using DataLab