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

View source: R/inconsistency.functions.R

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


MBNMAdose documentation built on Aug. 8, 2023, 5:11 p.m.