drop.comp.Rd
Drops arms in a way which preserves connectivity and equally removes data from each treatment in a nodesplit comparison (so as to maximise precision)
drop.comp(ind.df, drops, comp, start = 1)
A data frame in long format (one arm per row) from which to drop treatments
A vector of study identifiers from which to drop treatments
A numeric vector of length 2 that contains treatment codes corresponding to the comparison for node-splitting
Can take either 0
or 1
to indicate whether to drop the treatment
in comp[1]
(0
) or comp[2]
(1
)