Align a GD fit to a PLS fit (optional refit)
Usage
align_big_plscox(fit_gd, fit_pls, time, status, rotate = TRUE, refit = TRUE)
Arguments
- fit_gd
object from big_pls_cox_gd()
- fit_pls
object from big_pls_cox()
- time, status
Surv parts used for refit
- rotate
logical; Procrustes-rotate GD scores to the PLS basis
- refit
logical; refit a Cox model on the rotated GD scores
Value
fit_gd with $scores/$coefficients/$cox_fit possibly updated