Expand the eventTable by the fold-change scenarios of interest and apply fold-changes

For example, you have two ID's and three fold-changes. The resulting eventTable will have 2*3 IDs with the respective fold-changes applied for each parameter specified in dFC.

explodeEventTable_sensitivityScan(dFC, eventTable)

Arguments

dFC

data.table(sensitivityScanId (optional, will be created if non-existent), parameter1 = foldchanges1, ...). Can be missing, then parName and foldChanges are used to create a default dFC table

eventTable

an IQReventTable()

Value

list(eventTable = the new eventTable with new IDs and fold changes, dSensLookup = Lookup table for ID0 (original IDs), sensScanId and new ID)

See also

Other Sensitivity analysis: create_dFC_singlePar(), sim_IQRmodel_sensitivityScan()

Author

Daniel Lill (daniel.lill@intiquan.com)

Examples

if (FALSE) { # \dontrun{
eventTable <- IQRtools::IQReventTable(data.frame(ID = c(1,2,2), TIME = c(0,0,1), ADM = 1, AMT = c(1,0.5,0.5), TINF = 0.0001, CL = 3), regression = "CL")
dFC <- create_dFC_singlePar("CL", foldChanges = 10^(seq(-2,2)))
explodeEventTable_sensitivityScan(dFC = dFC,eventTable = eventTable)
} # }