change_Delta {doseSens} | R Documentation |
A helper that takes a gurobi model object outputted from dose_attributable_general or dose_thresh_attributable_one_sided and changes the Delta parameter. Saves computation time by directly editing the constraint involving Delta without having to reinitialize the other constraints that are kept the same. Outputs a list analogous to output from dose_attributable_general or dose_thresh_attributable_one_sided.
Description
A helper that takes a gurobi model object outputted from dose_attributable_general or dose_thresh_attributable_one_sided and changes the Delta parameter. Saves computation time by directly editing the constraint involving Delta without having to reinitialize the other constraints that are kept the same. Outputs a list analogous to output from dose_attributable_general or dose_thresh_attributable_one_sided.
Usage
change_Delta(model, Delta, direction = "equal", TT)
Arguments
model |
A gurobi model object outputted from dose_attributable_general. |
Delta |
The new Delta to test for. |
direction |
The new direction to test |
TT |
The observed test statistic. |
Value
A gurobi model and solution.
[Package doseSens version 0.1.0 Index]