drop.comp {MBNMAdose} | R Documentation |
Drop treatments from multi-arm (>2) studies for node-splitting
Description
Drops arms in a way which preserves connectivity and equally removes data from each treatment in a nodesplit comparison (so as to maximise precision)
Usage
drop.comp(ind.df, drops, comp, start = 1)
Arguments
ind.df |
A data frame in long format (one arm per row) from which to drop treatments |
drops |
A vector of study identifiers from which to drop treatments |
comp |
A numeric vector of length 2 that contains treatment codes corresponding to the comparison for node-splitting |
start |
Can take either |
[Package MBNMAdose version 0.4.3 Index]