Inverse Probability of Censoring Weights to Deal with Treatment Switch in Randomized Clinical Trials


[Up] [Top]

Documentation for package ‘ipcwswitch’ version 1.0.4

Help Pages

cens.ipw Censoring patient initiating the other arm treatment and building a treatment censoring indicator cens
ipcw Computing the stabilized IPCweights
replicRows Function to replicate the rows so that each patients' follow-up is split according to all event times (times parameter) up to each patient's end time
SHIdat A real example dataset from the randomized clinical trial SHIVA
timesTokeep Function to keep all event times
toydata A short example dataset
wideToLongTDC Function from wide to long format