drop.comp: Drop treatments from multi-arm (>2) studies for...

Description Usage Arguments

View source: R/inconsistency.functions.R

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

1
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 0 or 1 to indicate whether to drop the treatment in comp[1] (0) or comp[2] (1)


MBNMAdose documentation built on Sept. 13, 2020, 5:08 p.m.