fitNullModel.SPAmix function

Fit a SPAmix null model from a survival response (Surv) with covariates or from precomputed residuals. Principal components (PCs) named in control$PC_columns are extracted; residual outliers are detected using an IQR rule with adjustable multiplier and stored for SPA testing.

  • Maintainer: Woody Miao
  • License: GPL (>= 2)
  • Last published: 2025-12-05

Useful links