imputeIPZ: imputeIPZ

Description Usage Arguments Value References

View source: R/IPZ.R

Description

Impute data according to IPZ method. Output is supposed to be passed to permute.IPZ

Usage

1
imputeIPZ(data, pool = TRUE)

Arguments

data

matrix as returned by as.matrix(generateData(param))

pool

if TRUE impute events times from pooled Kaplan-Meier estimator (default: TRUE)

Value

original data with 4 new columns (V1 and V2) containing the imputed observations

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.