This function performs Gehan's estimation of regression parameters proposed by Jin
gehan_estimation(y, Z, delta, rsmat, m, init = FALSE)If `init = FALSE` and `change == 1`, returns a list with elements `INTERCEPT`, `RESID`, `ITERS`, `CONVERGED`, `BETA`. Otherwise, returns a matrix of resampled Gehan estimates.
A numeric vector of survival times.
A matrix of covariates
A numeric vector indicating censoring status
A resampling matrix
Method for quantreg optimalization
A logical value indicating whether to return the initial fit object (default is `FALSE`). If `FALSE`, only the coefficients are returned.
Zherzen Jin