Learn R Programming

expose (version 0.0.3)

dose_resp: Extract the information from the simulation data frame to analyse the dose response effects

Description

Extract the information from the simulation data frame to analyse the dose response effects

Usage

dose_resp(allsim, dataset, exposures, dr, ic_dis = "IC", st)

Arguments

allsim

dataset with all simulations values

dataset

dataset with all variables

exposures

a vector with exposures

dr

a vector with dose response values

ic_dis

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

st

summary table from general function

Value

a data frame with dose response values

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]]
drr.grp <- dose_resp (allsim = simu[[1]], dataset = expose_data, st = summary_table_lines,
                      dr = seku, exposures = Exposures) 
# }

Run the code above in your browser using DataLab