permuteIPZ: permuteIPZ

Description Usage Arguments Value References

View source: R/IPZ.R

Description

Permute treatment assignment after imputation (IPZ)

Usage

1
permuteIPZ(data, pZ, index = FALSE)

Arguments

data

matrix as returned by impute.IPT

pZ

vector of permuted indices if index is TRUE, else binary vector of treatment assignments

index

indicates if pZ is a vector of indices or a binary vector of treatment assignments

Value

matrix with time, status, Z columns

References

Wang, R., Lagakos, S.~W. and Gray, R.~J. Testing and interval estimation for two-sample survival comparisons with small sample sizes and unequal censoring. Biostatistics, 11(4), 676–692, January 2010.


mbrueckner/permGS documentation built on May 22, 2019, 12:57 p.m.