Return the positive and negative thresholds for an observation, given a
vector of possible threshold solutions. This function is intended for
internal use, and is called by nma_thresh automatically.
get.int(
x,
kstar,
trt.code,
contrs,
mcid = FALSE,
mean.dk = NULL,
inflmat = NULL,
opt.max = NULL
)Column of \(U\) matrix, containing all possible threshold solutions for a data point.
Base-case optimal treatment.
Vector of (possibly recoded) treatments. See
nma_thresh parameter of the same name.
Details of contrasts corresponding to rows in x,
as rows of the data.frame output by d_i2ab.
Use MCID decision rule? Default FALSE.
Posterior means of basic treatment parameters, required when
mcid is TRUE.
Column of influence matrix \(H\) for the data point,
required when mcid is TRUE.
Is the maximum treatment effect optimal? See
nma_thresh parameter of same name. Required when mcid is
TRUE.
Data frame of thresholds and new optimal treatments with columns
lo, lo.newkstar, hi, and hi.newkstar.