get.int {nmathresh} | R Documentation |
Get thresholds from U matrix
Description
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.
Usage
get.int(
x,
kstar,
trt.code,
contrs,
mcid = FALSE,
mean.dk = NULL,
inflmat = NULL,
opt.max = NULL
)
Arguments
x |
Column of |
kstar |
Base-case optimal treatment. |
trt.code |
Vector of (possibly recoded) treatments. See
|
contrs |
Details of contrasts corresponding to rows in |
mcid |
Use MCID decision rule? Default |
mean.dk |
Posterior means of basic treatment parameters, required when
|
inflmat |
Column of influence matrix |
opt.max |
Is the maximum treatment effect optimal? See
|
Value
Data frame of thresholds and new optimal treatments with columns
lo
, lo.newkstar
, hi
, and hi.newkstar
.